Add a new back-end function to return the exit code of the remote
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 29 Dec 2001 15:31:42 +0000 (15:31 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 29 Dec 2001 15:31:42 +0000 (15:31 +0000)
commitd8d6c7e50e1fcf5171ec15f8a3e9bdcd141f0b64
treeb47363393809beadceffe2ce1f75d7f8e4281351
parent4c472521e531fb420537806e1724c4a7a0041977
Add a new back-end function to return the exit code of the remote
process. This is functional in SSH, and vestigial (just returns 0)
in the other three protocols. Plink's Windows exit code is now
determined by the remote process exit code, which should make it
more usable in scripting applications. Tested in both SSH1 and SSH2.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1518 cda61777-01e9-0310-a592-d414129be87e
plink.c
putty.h
raw.c
rlogin.c
ssh.c
telnet.c