Sys_WaitForProcess
Description
Section titled “Description”Waits until a specified process has terminated, or the maximum number of seconds has been exceeded
Syntax
Section titled “Syntax”Sys_WaitForProcess(sProcessExeName, iMaxWaitSec, iIntervalSec) As Boolean
Parameters
Section titled “Parameters”sProcessExeName (String)
Section titled “sProcessExeName (String)”Name of process
iMaxWaitSec (Integer)
Section titled “iMaxWaitSec (Integer)”Maximum number of seconds
iIntervalSec (Integer)
Section titled “iIntervalSec (Integer)”Number of seconds between each process-check
Example
Section titled “Example”If bStatus Then bStatus = Sys_WaitForProcess("CapaInstaller.exe", 25, 5)Related functions
Section titled “Related functions”Sys_Sleep Sys_KillProcess Sys_GetProcessOwner Sys_ExistProcess Sys_CompareProcessOwner Constants Package Property Variables