Skip to content

Sys\_ExistProcess

Searches for a specified process. If specified process exist gbValue will be TRUE otherwise it will be FALSE.

Sys_ExistProcess(sProcessExeName, bMustExist) As Boolean

sProcessExeName (String)

Name of process

bMustExist (Boolean)

Process must exist

Result will be stored in gbValue

VBScript

If bStatus Then bStatus = Sys_ExistProcess("CapaInstaller.exe", False)
If bStatus Then bStatus = Job_WriteLog("Custom", "gbValue: " & gbValue, bStatus, True)

Scripting Guidelines

Sys_WaitForProcess Sys_Sleep Sys_KillProcess Sys_GetProcessOwner Sys_CompareProcessOwner