Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: STDOUT redirects and IPC::Open3

by kennethk (Monsignor)
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.


Comment on Re^2: STDOUT redirects and IPC::Open3
Select or Download Code
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2014-12-28 23:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (183 votes), past polls