Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Using 'kill' to see if a process is stil alive

by Zaxo (Archbishop)
on Jul 29, 2004 at 19:22 UTC ( #378472=note: print w/replies, xml ) Need Help??


in reply to Using 'kill' to see if a process is stil alive

anbrus is almost right, but you don't need wait to get SIGCHLD. The os always sends you that when the child exits. You just need to handle it. Try setting $SIG{CHLD} = 'IGNORE'; before launching the child.

After Compline,
Zaxo

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2022-09-30 23:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (126 votes). Check out past polls.

    Notices?