in reply to Multiple system commands in parallel
Since you're on windows, if you use system(1,$cmd) I think that'll spawn it off.
On unix, you'd have to fork and exec instead.
You just have to wait for them to finish if you're going to read files they create.
Personally, I use AnyEvent::Util::run_cmd to spawn subprocesses, monitor their outputs and return code, and manage all of that. But that's a lot more than you're asking for.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Multiple system commands in parallel
by g_speran (Scribe) on May 09, 2016 at 20:25 UTC | |
by Tanktalus (Canon) on May 09, 2016 at 21:22 UTC | |
by Marshall (Canon) on May 10, 2016 at 00:29 UTC | |
by BrowserUk (Patriarch) on May 10, 2016 at 00:51 UTC |