Skip to content

Sys_CompareProcessOwner

Compares owner of two running processes

Sys_CompareProcessOwner(sProcessOne, sProcessTwo, bMustExist) As Boolean

Name of first process to compare

Name of second process to compare

Processes must exist

Result will be stored in gbValue

If bStatus Then bStatus = Sys_CompareProcessOwner("wscript.exe", "explorer.exe", False)
If bStatus Then bStatus = Job_WriteLog("Custom", "gbValue: " & gbValue, bStatus, True)

Scripting Guidelines

Sys_WaitForProcess Sys_Sleep Sys_KillProcess Sys_GetProcessOwner Sys_ExistProcess Sys_CompareProcessOwner

Constants Package Property Variables