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 19, 2011 at 15:13 UTC ( #932432=note: print w/replies, xml ) Need Help??


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

This fails under ActiveState perl 5.10.1, MSWin32-x86-multi-thread. The if (!DO_SPAWN) { loop in _open3 takes the alternate branch.

Replies are listed 'Best First'.
Re^3: STDOUT redirects and IPC::Open3
by Eliya (Vicar) on Oct 19, 2011 at 15:36 UTC

    Yes, that's what I would've expected.  Windows doesn't use fork/exec to run subprocesses, so the module takes a different branch here, presumably more adequate than relying on Perl's fork emulation.

    Alas, pipes and processes on Windows, and dup'ing file descriptors, etc. in particular, are not my field of expertise, so I hope someone else will debug the Windows side of the issue...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://932432]
help
Chatterbox?
[LanX]: Wilkes left the computer field in 1972 to attend the Harvard Law School
[erix]: too many stubborn, illogical men in IT
LanX "We had the quaint notion at the time that software should be completely, absolutely free of bugs. Unfortunately it's a notion that never really quite caught on." :)
[LanX]: erix Silence, I sue you!
[erix]: She sounds like Dijkstra (you know, Edsger)
LanX will call his fifth son "Edsger"

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (13)
As of 2017-12-12 16:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (335 votes). Check out past polls.

    Notices?