in reply to Stopping subprocesses

Instead of forking, threads may be a better alternative for you. You will at least be able to get all the pids and store them in an shared array for later killing.

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku flash japh