running multiple processes from cmd prompt
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
16-10-18 03:19 PM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
16-10-18 06:15 PM
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.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-10-18 09:24 AM
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
