Running DOS Commands parallely
Posted: Wed Feb 28, 2007 10:57 am
Hi,
I have 3 MS-DOS commands, which I want to run in parallel.
I approached like this:
Created a sequence.
Added 3 Command Stages to it and ran the commands.
The commands were triggerred in parallel as desired.
Due, to some reasons, I need to run the same commands from
a routine, so I approached like this:
Created a rotuine, which takes in the command ( with params ) as
the input arg, which calls DSExecute() to run the command.
Now, I created a new sequence.
Added 3 routine activity stages to it, passing the different commands as different parameters to the same routine.
But now, the 3 commands are not running in parallel now.
i.e the routine is not triggering parallely to run the 3 different input commands as desired.
Please explain.
Thanks and Regards.
I have 3 MS-DOS commands, which I want to run in parallel.
I approached like this:
Created a sequence.
Added 3 Command Stages to it and ran the commands.
The commands were triggerred in parallel as desired.
Due, to some reasons, I need to run the same commands from
a routine, so I approached like this:
Created a rotuine, which takes in the command ( with params ) as
the input arg, which calls DSExecute() to run the command.
Now, I created a new sequence.
Added 3 routine activity stages to it, passing the different commands as different parameters to the same routine.
But now, the 3 commands are not running in parallel now.
i.e the routine is not triggering parallely to run the 3 different input commands as desired.
Please explain.
Thanks and Regards.