in reply to Re^3: Print log at runtime instead of dumping all at once later.. Net::SSH output buffer
in thread Print log at runtime instead of dumping all at once later
capture2 starts the remote command, and captures any output it sends to stdout and stdin until it exits. Under the hood, it also calls waitpid, and the return code from the remote process can be inspected afterwards, just looking at $?.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Print log at runtime instead of dumping all at once later.. Net::SSH output buffer
by Technext (Acolyte) on Jul 02, 2015 at 17:14 UTC |