Syntax
$cs.Sys_WaitForProcessToExist(string processname, int MaxWaitSec, int IntervalSec)
Parameters
processname
Process name to wait for
...
Seconds to sleep before checking again
Example
Code Block | ||
---|---|---|
| ||
$cs.Sys_WaitForProcessToExist("clickshare_native.exe",30,1) $cs.Sys_KillProcess("clickshare_native.exe") |
...