Skip to content

Sys_WaitForProcessToExist

Searches for a specified process. If specified process does not exist the function will wait. It will check every iIntervalSec at a max of iMaxWaitSec

Sys_WaitForProcessToExist(sProcessExeName, iMaxWaitSec, iIntervalSec) As Boolean

Name of process

Maximum wait time

Interval for each process check

If process does not exist after iMaxWaitSec the function will return false

If bStatus Then bStatus = Sys_WaitForProcessToExist("CapaInstaller.exe", 30, 5)

Scripting Guidelines

Sys_WaitForProcess Sys_Sleep Sys_KillProcess Sys_GetProcessOwner Sys_CompareProcessOwner Constants Package Property Variables