Subject: | redirect output to variables |
Hi! Thanks for such a nice module :)
I think it'd be really nice to be able to redirect stdout/stderr to
variables instead of just to a file. Something like:
$proc->redirect_output( \$stdout, \$stderr );
would do it and still leave room for the vanilla:
$proc->redirect_output( $stdout_filename, $stderr_filename );
Being able to redirect the output to variables will certainly help
manipulate the process' results, and even integrate Proc::Simple with
Log::Log4perl. Right now I'm having to encapsulate my Proc::Simple calls
with Capture::Tiny.
Thanks!