http://www.perlmonks.org?node_id=932189


in reply to Re: STDOUT redirects and IPC::Open3
in thread STDOUT redirects and IPC::Open3

Thank you. This is outside my expertise, so I appreciate the detailed response. Your patch seems to work, though I haven't run it against the test suite. I've also added a parallel line for STDERR, replacing
xclose $dad_err; xopen \*STDERR, ">&=" . fileno $kid_err;
with
xclose $dad_err; open STDERR, ">&=2"; xopen \*STDERR, ">&=" . fileno $kid_err;
which seems to behave for STDERR redirects. Now I have the moral quandry of using local modules, or using the distributed version with a work around.