Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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?
[karlgoethebier]: jedikaiti: íHola! Don't turn out the stars tonight
[jedikaiti]: Howdy! Is that link SFW?
[karlgoethebier]: jedikaiti: safe for work? it's youtube...
[jedikaiti]: Which could be anything
[karlgoethebier]: karlgoethebier: some say shockwave isn't safe for work. no risk, no fun ;-)

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2017-06-27 15:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (609 votes). Check out past polls.