Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: Check if forked process is dead

by Eliya (Vicar)
on Mar 02, 2011 at 21:42 UTC ( [id://891106]=note: print w/replies, xml ) Need Help??

in reply to Check if forked process is dead

The issue is that unless you have waited on your child process, it's still in the process table, so kill can send signals to it.

Replies are listed 'Best First'.
Re^2: Check if forked process is dead
by petr999 (Acolyte) on Mar 02, 2011 at 22:01 UTC
    Looks like that.
    How could I know that from the documentation?
    Should I check for the fork existence in a different way?
    My pgrep -P command doesn't see the forked process at the time kill 0 does. This can not be a bug, so what's the salt of a perl feature here?

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2024-07-17 16:15 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.