function RunAsync(commandLine)


The RunAsync function spawns a process that executes an external program. The executed program can take command line parameters, as shown in the example below.
This function does not wait for the spawned process to exit, and immediately returns true if the process was started; if the process wasn't started it returns false.


Example:

{
 if (RunAsync('cmd.exe /c "/my_shell_scripts/some_script.bat"')) {
  Log('Batch script started successfully');
 }
}