gabrielsousa has asked for the wisdom of the Perl Monks concerning the following question:
my @cmd=('lftp', '-u', "$user,$pass", '-e', "open", "$host"); my $h = start \@cmd, \$in, \$out, \$err, timeout( 10 ); $in .= "ls\n"; pump $h; print $out; finish $h;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: IPC::Run - can i print the $out before the finish
by haukex (Archbishop) on Jan 25, 2017 at 17:56 UTC | |
by gabrielsousa (Sexton) on Jan 25, 2017 at 23:41 UTC | |
by gabrielsousa (Sexton) on Jan 25, 2017 at 22:08 UTC | |
|
Re: IPC::Run - can i print the $out before the finish (code-tags) (updated)
by LanX (Saint) on Jan 25, 2017 at 17:07 UTC |