Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: STDOUT redirects and IPC::Open3

by kennethk (Abbot)
on Oct 18, 2011 at 16:23 UTC ( #932189=note: print w/ replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://932189]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (12)
As of 2016-06-29 18:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (385 votes). Check out past polls.