This may help depending on your platform. On *nix boxes you can use pkill -P ppid to kill all children of the process with PID ppid. On windows there is a utility from SysInternals called pkill that can be used to kill a process and its tree. pskill -t program.
In reply to Re: More forking help
by hipowls
in thread More forking help
by fawkin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |