Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 drinking their drinks and smoking their pipes about the Monastery: (1)
As of 2021-10-20 03:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (78 votes). Check out past polls.

    Notices?