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