Just a couple of things I need to know about processes:
1 - is there a way to test if a particular process is still running?
(assuming you've got its PID, of course)
2 - is there a way to make a process wait until all of its child processes have finished running?
3 - is there a way to kill all child processes (of the current process) at once?
Thanks in advance (even if all three answers turn out to be "no", which would be less than helpful...)