I posted a script here a couple of years ago that solved most of my problems (but I've never had any comments on it). Maybe it will give you some insight.
I'm unsure whether you want to communicate with the forked children, or let them run freely. Otherwise, I think you can use my script as a template. (I'd be interested in any feedback :)
-QM
--
Quantum Mechanics: The dreams stuff is made of
In reply to Re: Confused by fork examples
by QM
in thread Confused by fork examples
by webshark
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |