Skip to content

Sys_WaitForProcess

Waits until a specified process has terminated, or the maximum number of seconds has been exceeded

Sys_WaitForProcess(sProcessExeName, iMaxWaitSec, iIntervalSec) As Boolean

Name of process

Maximum number of seconds

Number of seconds between each process-check

If bStatus Then bStatus = Sys_WaitForProcess("CapaInstaller.exe", 25, 5)

Scripting Guidelines

Sys_Sleep Sys_KillProcess Sys_GetProcessOwner Sys_ExistProcess Sys_CompareProcessOwner Constants Package Property Variables