vicent roca daniel wrote:
> The problem I have is that the first libssh2_channel_exec() works
> fine, but the second, third, etc.. don't work.
Please show us code.
> It seems that for some reason the channel is closed.
> ¿I'm doing it wrong?
An exec channel is closed when the exec:ed process on the server
terminates. If you want to start another process (in sequence, or in
parallell) then you have to create another channel.
//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-02-14