Method RunProcess
RunProcess(IScriptRun, string, object[], bool)
Executes script starting from the main entry point in standalone process.
public static int RunProcess(IScriptRun scriptRun, string assemblyLocation, object[] args, bool wait)
Parameters
scriptRun
IScriptRunIScriptRun
associated this script method.assemblyLocation
stringFully qualified name of application to execute.
args
object[]Specifies main method arguments.
wait
boolSpecifies if calling application should wait for process termination
Returns
- int
Return process exit code.