Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Open3 and bad gut feeling

by Random_Walk (Parson)
on Mar 31, 2005 at 14:00 UTC ( #443819=note: print w/ replies, xml ) Need Help??


in reply to Re: Open3 and bad gut feeling
in thread Open3 and bad gut feeling

Hi particle

I have been working on a similar problem Win32 capturing output from a process that may hang, capturing stdout and stderr from a child proc, must work under windows and unix and there is a good chance the child will hang and have to be killed.

I have a partial solution at Re^4: Win32 capturing output from a process that may hang using threads and non blocking thread queues. This does not however do stderr properly. I have started trying to use open3 for this but have found it a can of worms. Did you get anywhere with the client server socket talking approach ?

Cheers,
R.

Pereant, qui ante nos nostra dixerunt!


Comment on Re^2: Open3 and bad gut feeling
Re^3: Open3 and bad gut feeling
by particle (Vicar) on Apr 20, 2005 at 16:00 UTC

    actually, i later found IPC::Run, which does a great job for me, even though it says win32 support is *experimental*. in fact, i'm using happily using it right now to glue two apps together :)

    ~Particle *accelerates*

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2015-07-07 06:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (87 votes), past polls