What is the question?
From the comments inside the code, it seems you're asking how to fork in an OS agnostic way.
With this chain strategy you are risking to run unlimited numbers of jobs in parallel .
Having one master controlling all slaves would give you better control.
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
In reply to Re: Yet another spawn question. Portable method?
by LanX
in thread Yet another spawn question. Portable method?
by MickeyLane
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |