in reply to Re^3: Parallel Processing
in thread Parallel Processing
meh.
for (1..5) { system('start DoThis.exe'); }
vs
my @pids; for (1..5) { push @pids, system(1, "DoThis.exe"); } waitpid($_, 0) for @pids;
Maybe zombies don't matter and you can reduce the latter to something akin to the former, but we haven't been told that.
Then again, I would want to know if the children died, and using start hides that data.
|
|---|