in reply to Capturing the stdout and exit code from a program piped to perl
Run "somebinary" either in myscript.pl itself, or a Perl wrapper around both, to get the exit code besides the output. Search for pipe related documentation; some of which are IPC::Run & IPC::Open3.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Capturing the stdout and exit code from a program piped to perl
by Anonymous Monk on Dec 09, 2014 at 13:00 UTC | |
by Anonymous Monk on Dec 09, 2014 at 13:02 UTC |