in reply to Error - A non-blocking socket operation could not be completed immediately.
#shell use my $chan = $ssh2->channel(); $chan->blocking(0); $chan->shell(); print $chan "ls -la\n"; print "LINE : $_" while <$chan>; print $chan "who\n"; print "LINE : $_" while <$chan>; print $chan "date\n"; print "LINE : $_" while <$chan>; $chan->close;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Error - A non-blocking socket operation could not be completed immediately.
by perl514 (Pilgrim) on Mar 07, 2013 at 14:10 UTC |