cancel
Showing results for 
Search instead for 
Did you mean: 

running multiple processes from cmd prompt

Sudharsana_RaoT
Level 4
Hi , I am writing a .bat file, in which have written two commands as follows, to execute two processes "Process1" and "Process2".   "C:\Program Files\Blue Prism Limited\Blue Prism Automate\AutomateC.exe" /sso /run "Process1" "C:\Program Files\Blue Prism Limited\Blue Prism Automate\AutomateC.exe" /sso /run "Process2"   I need to run Process2 only after completion of Process1, but in my case after triggering Process1 immediately Process2 is triggering. is there any command that I can use in .bat file, so that I can run Process2 only after completion of Process1.   Thanks and Regards, sudharsan.
2 REPLIES 2

John__Carter
Staff
Staff
The output from /run contains the session ID. You can use this value with the /status command to get the current status of the process, eg Running, Terminated etc. When the status is Complete you can start the next process.

Sudharsana_RaoT
Level 4
Hi,   I tried but I could not get the PID for the /run process, kindly help me in providing the actual statement.   Thanks and regards, sudharsan