5 Oct 2011 23:42
Re: How do i know that process has completed?
Am i correct that libssh2_channel_eof should be used with libssh2_channel_read? i.e. without reading from a channel EOF will never be received. 2011/10/5 Peter Stuge <peter@...>: > Pavel Strashkin wrote: >> What is the best way to know that command has completed and >> exit_status is ready to be read? > > libssh2_channel_eof() > > >> 2. Is there any way to read stdout/stderr separately? > > libssh2_channel_read() reads stdout > libssh2_channel_read_stderr() guess what ;) > > > //Peter > _______________________________________________ > libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel > _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
RSS Feed