azaria has asked for the wisdom of the Perl Monks concerning the following question:
Dear Folks
I have several system calls, each one depends on the previous, I am using the command 'system(<cmd>') -
system(<cmd1>); system(<cmd2>); system(<cmd3>);
and I would like to prevent them to run in the background. does 'exec' will help me or there is any other way to execute the command one after the other. Any examples ?
thanks in advance azaria
Update: I call serially c++ programs, each one cannot start until the previous completed, so i might need to have a code that wait .. any trick ?
20080520 Janitored by Corion: Restored original content
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: serial system executions
by toolic (Bishop) on May 09, 2008 at 20:59 UTC | |
by azaria (Beadle) on May 11, 2008 at 06:16 UTC | |
|
Re: serial system executions
by blazar (Canon) on May 10, 2008 at 13:19 UTC |