Sys_GetProcessOwner
Description
Returns owner of process
Â
Syntax
Sys_GetProcessOwner(sProcess, bMustExist) As Boolean
Â
Parameters
sProcess (String)
Name of process
bMustExist (Boolean)
Process must exist
Return value
Result will be stored in gsValue
Â
Example
VBScript
If bStatus Then bStatus = Sys_GetProcessOwner("CapaInstaller.exe", True) If bStatus Then bStatus = Job_WriteLog("Custom", "gsValue: " & gsValue, bStatus, True)
Â
Related functions
Sys_WaitForProcess Sys_Sleep Sys_KillProcess Sys_ExistProcess Sys_CompareProcessOwner