$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
Â