This is one of my old postings, where I talk about the basics of running child processes, and I present a code example where a child communicates back to the parent: Re: Process Management
You ought to be able to extend this to run multiple children, where the parent continues to watch them all for input.
In reply to Re: running multiple system commands in parallel
by doom
in thread running multiple system commands in parallel
by incognito129
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |