Is it possible to *not* wait for the child to return output, yet still capture it?
Well, what you want to do is move the waiting to the outside of the loop, and wait for all the children "at once" (via polling, select, or whatever). Below is a solution using Thread::Queue.
In reply to Re^3: Forking children operate sequentially?!
by ikegami
in thread Forking children operate sequentially?!
by darwinscusp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |