Thanks very much for the reply.
I'm not exactly sure what question you're asking, so I'll barge ahead and make my comment.
I'm asking for the best way to invoke an external command with a complicated command pipeline and arguments (see my enumerated list for details). Sorry if that wasn't clear. It's been a rather long and dark day.
I much prefer to handle that type of thing within the program.
This does at least answer part of my question—I can redirect the standard streams easily enough. Since you suggest going pure-Perl with this bit, do you have a good/easy way to combine stdout and stderr similar to a > file.log 2>&1 as in a shell?
In reply to Re^2: Capturing output from a long-running pipeline
by wanna_code_perl
in thread Capturing output from a long-running pipeline
by wanna_code_perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |