Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: How to optionally kill a child, and capture status if not killed.

by mr_mischief (Monsignor)
on Apr 25, 2008 at 20:22 UTC ( #682906=note: print w/replies, xml ) Need Help??


in reply to How to optionally kill a child, and capture status if not killed.

I'm unclear on your exact problem, and that's a lot of code for me to look through to figure it out.

Is your main problem that you're not sure where the child process's status ends up once wait returns? The docs say it ends up in $?.

  • Comment on Re: How to optionally kill a child, and capture status if not killed.
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://682906]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2017-12-18 17:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (494 votes). Check out past polls.

    Notices?