How does PUTTY/PLINK determine a command has returned?

Posted by jacko on Stack Overflow See other posts from Stack Overflow or by jacko
Published on 2010-06-04T16:27:40Z Indexed on 2010/06/07 9:02 UTC
Read the original article Hit count: 375

Filed under:
|
|

Is it newline? prompt? What exactly?

Trying to run powershell over plink and the command executes but plink doesn't recognise its finished and the session hangs. Most curiously though, the command executes successfully when sent through the shell (via Putty). However, when sent via plink, the same command hangs...

Any ideas?

© Stack Overflow or respective owner

Related posts about powershell

Related posts about putty