in reply to Parallel Processing

Then launch DoThis.exe in the background. How this works depends on the operating system. perlport talks a bit about this (if I remember correctly), and Super Search will surely find some discussions about it.

Replies are listed 'Best First'.
Re^2: Parallel Processing
by Anonymous Monk on Jun 07, 2010 at 10:50 UTC

    Thanks every one.

    I found a simple solution that meets my requirement. What I did was added "START" inside the system command
    for 1..5{ system("START DoThis.exe"); }

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

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

        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.

Re^2: Parallel Processing
by Anonymous Monk on Jun 07, 2010 at 10:33 UTC
Re^2: Parallel Processing
by Anonymous Monk on Jun 07, 2010 at 10:32 UTC
    Thanks for the quick response. FYI Script runs in Windows.