in reply to How to make parent wait for all the child processes.
G'day gjoshi,
You can check if a child process is still alive with:
kill 0 => $child_pid [download]
See kill for more details.
— Ken