in reply to Print log at runtime instead of dumping all at once later
Well of course it buffers, you collect all the output from the remote command into a string and then print it. What else is it going to do ? Try using pipe_out instead.
my ($stdout, $errput) = $ssh->capture2("~/release/$wrapper"); printf "Output: $stdout\n" if $stdout;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Print log at runtime instead of dumping all at once later
by Technext (Acolyte) on Jul 02, 2015 at 17:03 UTC |