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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2018-12-13 01:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many stories does it take before you've heard them all?







    Results (61 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!