Then, the returned $out_fh object will be a real and fully working file handle that can be used, for instance, inside a non-blocking select loop.use Net::OpenSSH; my $ssh = Net::OpenSSH->new(...); my $out_fh = $ssh->pipe_out("egrep -l $searchStr * 2>&1 | tee ~/myfile +.txt\n");
In reply to Re: Read call in Net::SSH2::Channel
by salva
in thread Read call in Net::SSH2::Channel
by godsown
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |