I need to launch the CLI app EIGHT times so they all run in parallel. Like this:
Code: Select all
Update:
{
Run, "do_something.exe Parameter1 ConstStringParameter"
Run, "do_something.exe Parameter2 ConstStringParameter"
Run, "do_something.exe Parameter3 ConstStringParameter"
Run, "do_something.exe Parameter4 ConstStringParameter"
.
.
.
}
I need to find a way to capture the error code that do_something.exe returns so I know if the update was successful.
I can package the CLI stuff in a batch file, capture the %ERRORLEVEL% that is returned and if it's != 0, write it to a file so I know which one failed. AHK has SOOOOOO many features, maybe there is an easier (or more elegant) way??
BTW, this is my first script and I am astonished at how much I can do in such a short time.
Thanks.