Hi,
In the description of ssh2_shell, there's:
"Open a shell at the remote end and allocate a stream for it."
So the result of this command must be a stream. Well, it's good, I'll
use fgets, fwrite and stream_* functions ! BUT, the problem is that I
can't use a SSH2 Stream with the stream_select function...
Warning: stream_select()
[function.stream-select]: cannot represent a
stream of type SSH2 Channel as a select()able descriptor in XX on line
XX
Why I cannot ? Is there a workaround ?
Regards,
Samuel ROZE.
hi,
Please discuss PECL extension in the PECL mailing list or report a bug
via pecl.php.net/ssh2.
Cheers,
Hi,
In the description of ssh2_shell, there's:
"Open a shell at the remote end and allocate a stream for it."So the result of this command must be a stream. Well, it's good, I'll
use fgets, fwrite and stream_* functions ! BUT, the problem is that I
can't use a SSH2 Stream with the stream_select function...Warning: stream_select() [function.stream-select]: cannot represent a
stream of type SSH2 Channel as a select()able descriptor in XX on line
XXWhy I cannot ? Is there a workaround ?
Regards,
Samuel ROZE.--
--
Pierre
Done.
Sorry!
Le mardi 01 décembre 2009 à 22:23 +0100, Pierre Joye a écrit :
hi,
Please discuss PECL extension in the PECL mailing list or report a bug
via pecl.php.net/ssh2.Cheers,
Hi,
In the description of ssh2_shell, there's:
"Open a shell at the remote end and allocate a stream for it."So the result of this command must be a stream. Well, it's good, I'll
use fgets, fwrite and stream_* functions ! BUT, the problem is that I
can't use a SSH2 Stream with the stream_select function...Warning:
stream_select()
[function.stream-select]: cannot represent a
stream of type SSH2 Channel as a select()able descriptor in XX on line
XXWhy I cannot ? Is there a workaround ?
Regards,
Samuel ROZE.
The pecl-dev@lists.php.net list appears to be broken because I doesn't
received my message which I sent yesterday...
Is there any who can tell me if I received it ? (title is "SSH2: An SSH
shell like a stream")
Regards,
Samuel.
Le mardi 01 décembre 2009 à 22:23 +0100, Pierre Joye a écrit :
hi,
Please discuss PECL extension in the PECL mailing list or report a bug
via pecl.php.net/ssh2.Cheers,
Hi,
In the description of ssh2_shell, there's:
"Open a shell at the remote end and allocate a stream for it."So the result of this command must be a stream. Well, it's good, I'll
use fgets, fwrite and stream_* functions ! BUT, the problem is that I
can't use a SSH2 Stream with the stream_select function...Warning:
stream_select()
[function.stream-select]: cannot represent a
stream of type SSH2 Channel as a select()able descriptor in XX on line
XXWhy I cannot ? Is there a workaround ?
Regards,
Samuel ROZE.
Sorry, I had a problem with my GMail filters...
Regards,
Le mercredi 02 décembre 2009 à 13:28 +0100, Samuel ROZE a écrit :
The pecl-dev@lists.php.net list appears to be broken because I doesn't
received my message which I sent yesterday...Is there any who can tell me if I received it ? (title is "SSH2: An SSH
shell like a stream")Regards,
Samuel.Le mardi 01 décembre 2009 à 22:23 +0100, Pierre Joye a écrit :
hi,
Please discuss PECL extension in the PECL mailing list or report a bug
via pecl.php.net/ssh2.Cheers,
Hi,
In the description of ssh2_shell, there's:
"Open a shell at the remote end and allocate a stream for it."So the result of this command must be a stream. Well, it's good, I'll
use fgets, fwrite and stream_* functions ! BUT, the problem is that I
can't use a SSH2 Stream with the stream_select function...Warning:
stream_select()
[function.stream-select]: cannot represent a
stream of type SSH2 Channel as a select()able descriptor in XX on line
XXWhy I cannot ? Is there a workaround ?
Regards,
Samuel ROZE.