and keeping the buflen large (at 10K) gave me the results without hanging.my @buf; print $chan2 ("ls -l\n"); @buf = $chan2->READLINE(); print @buf;
fnord
In reply to Re: Getting variable sized reapones using Net::SSH2
by Illuminatus
in thread Getting variable sized reapones using Net::SSH2
by essej1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |