Method SystemUtil.ProcessExitCode
Gets the value that the associated process specified when it terminatedUsage
Function ZAP.SystemUtil.ProcessExitCode()
Parameters
This method does not take parameters
Returns
The code that the associated process specified when it terminated. 0 if process is not created
Example
VBScript
Zap.SystemUtil.Run "firefox.exe"
Zap.SystemUtil.Kill
msgbox Zap.SystemUtil.ProcessExitCode
JavaScript
Zap.SystemUtil.Run("firefox.exe");
Zap.SystemUtil.Kill();
alert(Zap.SystemUtil.ProcessExitCode());