libssh2_channel_get_exit_status documentation says that it returns 0 on
error

How do I distinguish between and an Error and a exit_status of 0


If I kill the remote process, I get exit_status as 0
if the command terminates successfully (it exits with exitstatus 0), I get
exit_status as 0


I am not sure how I can handle the case where in the remote process running
the command got killed?


Regards
Aalok
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to