Subject: Command execution end

Command execution end

From: vti <viacheslav.t_at_gmail.com>
Date: Tue, 4 Aug 2009 15:08:08 +0200

Hello

How can I know when a program is executed when I do:

libssh2_channel_open_session()
libssh2_channel_request_pty()
libssh2_channel_shell()
libssh2_channel_write(<my command>)

... wait while command is executing ...

libssh2_channel_send_eof()
libssh2_channel_wait_eof()

Thanks for any advice,
vti
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2009-08-04