What is the 'exit status' returned by CkSsh_GetChannelExitStatus(). I want to run a program on a remote machine using CkSsh_SendReqExec() and get the program's exit code when it completes (the number passed to exit(n)). Is the number returned by CkSsh_GetChannelExitStatus() the exit code I'm looking for?
↧