Subject: How do i know that process has completed?

How do i know that process has completed?

From: Pavel Strashkin <pavel.strashkin_at_gmail.com>
Date: Wed, 5 Oct 2011 14:23:36 -0700

Hello,

1. For an example i'm trying to create a directory or whatever. I
create session, channel, do exec ("mkdir ...").What is the best way to
know that command has completed and exit_status is ready to be read?

2. Is there any way to read stdout/stderr separately?

Thank you!
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2011-10-05