"RSCHUPP via RT" <bug-IPC-Run3@rt.cpan.org> writes:
Show quoted text>
> I'm open to suggestions :)
Maybe something like
C<run3> uses the C<system> function to run a subprocess or shell
command, with stdin, stdout, and/or stderr conveniently redirected
to or from files, Perl data structures, or subroutines. It aims to
satisfy 99% of the need for "system", "qx", and "open3" with a
simple, extremely Perlish API.
The way SIGINT is ignored in system(), and thus run3(), over qx probably
should be noted or cross referenced somewhere early on, but I'm not sure
how to word that without labouring it.
Of course having sigint only kill the child might be a feature anyway
-- you can look at its exit code to see how it died. Most of the time
though I tend to think I want the parent and child both to die under a
^C ...