Another interesting signal to send is signal number zero. This doesn't actually affect a child process, but instead checks whether it's alive or has changed its UID.This seemed to be an attractive and easy solution - that's why I wanted to try it out.unless (kill 0 => $kid_pid) { warn "something wicked happened to $kid_pid"; }
In reply to Re^2: Monitoring child processes
by rovf
in thread Monitoring child processes
by rovf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |