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.

  • Comment on Re: Capturing the stdout and exit code from a program piped to perl

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

    Dang! perldoc.org link of IPC::Run is bad; try CPAN one: IPC::Run.

      Double Dang! I should have written only "perldoc" as the host actually is "perldoc.perl.org".