in reply to Re^2: Parallel Processing
in thread Parallel Processing

No need for START. This will do the trick on Windows:

for (1..5) { system(1, "DoThis.exe"); }
See perlport.

Replies are listed 'Best First'.
Re^4: Parallel Processing
by ikegami (Patriarch) on Jun 07, 2010 at 17:11 UTC

    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.