Twas brillig at 22:41:26 30.12.2008 UTC+01 when dan...@haxx.se did gyre and gimble:
>> You are right, this works very well. The problem is, that if I call >> "libssh2_channel_wait_closed" right before >> "libssh2_channel_get_exit_status" the function >> "libssh2_channel_wait_closed" never returns. DS> That sounds like a bug to me. get_exit_status waits for channel to be closed, but yes, wait_closed should return immediately then. Or maybe it should work another way: get_exit_status should return error if channel is not closed yet. --
pgpu95Ec1jJgl.pgp
Description: PGP signature
------------------------------------------------------------------------------
_______________________________________________ libssh2-devel mailing list libssh2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libssh2-devel