Sys_ExistProcess
Description
Searches for a specified process. If specified process exist gbValue will be TRUE otherwise it will be FALSE.
Â
Syntax
Sys_ExistProcess(sProcessExeName, bMustExist) As Boolean
Â
Parameters
sProcessExeName (String)
Name of process
bMustExist (Boolean)
Process must exist
Â
Return value
Result will be stored in gbValue
Â
Example
VBScript
If bStatus Then bStatus = Sys_ExistProcess("CapaInstaller.exe", False) If bStatus Then bStatus = Job_WriteLog("Custom", "gbValue: " & gbValue, bStatus, True)
Â
Related functions
Sys_WaitForProcess Sys_Sleep Sys_KillProcess Sys_GetProcessOwner Sys_CompareProcessOwner