Sys_CompareProcessOwner
Description
Compares owner of two running processes
Â
Syntax
Sys_CompareProcessOwner(sProcessOne, sProcessTwo, bMustExist) As Boolean
Â
Parameters
sProcessOne (String)
Name of first process to compare
sProcessTwo (String)
Name of second process to compare
bMustExist (Boolean)
Processes must exist
Â
Return value
Result will be stored in gbValue
Â
Example
VBScript
If bStatus Then bStatus = Sys_CompareProcessOwner("wscript.exe", "explorer.exe", False) If bStatus Then bStatus = Job_WriteLog("Custom", "gbValue: " & gbValue, bStatus, True)
Â
Relates functions
Sys_WaitForProcess Sys_Sleep Sys_KillProcess Sys_GetProcessOwner Sys_ExistProcess Sys_CompareProcessOwner