[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Get exit code of a executed remote command
[Thread Prev] | [Thread Next]
- Subject: Get exit code of a executed remote command
- From: Thomas Mayer <tm.telemotive@xxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Tue, 02 Aug 2011 15:27:43 +0200
- To: libssh@xxxxxxxxxx
Hi,I tried to run a command on a remote host via "ssh_channel_request_exec" and get the the exit code back. My problem is that "ssh_channel_get_exit_status" returns always -1.
Any idea what I'm doing wrong? Thanks in advance, Thomas
Re: Get exit code of a executed remote command | "Oliver Stöneberg" <oliverst@xxxxxxxxx> |