$cs.Sys\_WaitForProcessToExist
Syntax
Section titled “Syntax”$cs.Sys_WaitForProcessToExist(string processname, int MaxWaitSec, int IntervalSec)
Parameters
Section titled “Parameters”processname
Process name to wait for
MaxWaitSec
Max seconds to wait
IntervalSec
Seconds to sleep before checking again
Example
Section titled “Example”$cs.Sys_WaitForProcessToExist("clickshare_native.exe",30,1)$cs.Sys_KillProcess("clickshare_native.exe")returns nothing