Documentation/RunResult
class

RunResult

js/foo_uie_jsplitter.js:5193

Object returned by utils.Run.

propertyreadonly

ExitCode

js/foo_uie_jsplitter.js:5212
ExitCode: number = 0

Process exit code.
This value is meaningful when wait=true and the launched process handle was available.
If wait=false, this value is usually 0.

propertyreadonly

OK

js/foo_uie_jsplitter.js:5201
OK: boolean = false

High-level operation result.
If wait=false, true means that ShellExecuteEx accepted the shell request.
If wait=true and a process exit code is available, true means that the process exited with code 0.
A non-zero process exit code is reported as OK=false, while Win32Error usually remains 0.

propertyreadonly

ShellCode

js/foo_uie_jsplitter.js:5232
ShellCode: number = 0

Native ShellExecuteEx result code.
Values greater than 32 usually indicate a successful shell-level operation.
Values less than or equal to 32 indicate a shell-level error, such as file not found, access denied, no association, or invalid executable format.
This value describes the shell operation itself, not the launched process exit code.

propertyreadonly

Win32Error

js/foo_uie_jsplitter.js:5222
Win32Error: number = 0

Win32 error code returned by GetLastError, or an internally assigned Win32 error code.
This is 0 on success.
If OK=false and Win32Error is 0, the process was usually started successfully but returned a non-zero ExitCode.