Sprad has asked for the wisdom of the Perl Monks concerning the following question:
I've got a program that makes three separate system() calls to slow win32 shell commands:
They all do different tasks and don't depend on each other, but the program must not proceed until all three have completed. Is there a way I can run them simultaneously, but keep system()'s block-until-finished behavior?# ... do stuff system("turtle.exe"); system("slug.bat"); system("inchworm.vbs"); # ... do more stuff
---
A fair fight is a sign of poor planning.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Simultaneous system() calls
by flyingmoose (Priest) on Feb 17, 2004 at 19:32 UTC | |
Re: Simultaneous system() calls
by coreolyn (Parson) on Feb 17, 2004 at 19:20 UTC | |
Re: Simultaneous system() calls
by ysth (Canon) on Feb 17, 2004 at 19:58 UTC | |
Re: Simultaneous system() calls
by BrowserUk (Patriarch) on Feb 18, 2004 at 12:57 UTC | |
Re: Simultaneous system() calls
by borisz (Canon) on Feb 17, 2004 at 19:36 UTC | |
Re: Simultaneous system() calls
by halley (Prior) on Feb 17, 2004 at 21:07 UTC | |
Re: Simultaneous system() calls
by Roger (Parson) on Feb 18, 2004 at 03:07 UTC | |
by BrowserUk (Patriarch) on Feb 18, 2004 at 12:55 UTC | |
by Sprad (Hermit) on Feb 19, 2004 at 16:37 UTC | |
Re: Simultaneous system() calls
by tcf22 (Priest) on Feb 17, 2004 at 19:02 UTC |
Back to
Seekers of Perl Wisdom