Use kill 0 => $childpid to check; if that returns false and $! == ERSCH then it's not running.
In reply to Re: Finding if a child process has terminated
by Fletch
in thread Finding if a child process has terminated
by cog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |