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