Skip to content

$cs.Sys\_WaitForProcessToExist

$cs.Sys_WaitForProcessToExist(string processname, int MaxWaitSec, int IntervalSec)

processname

Process name to wait for

MaxWaitSec

Max seconds to wait

IntervalSec

Seconds to sleep before checking again

Terminal window
$cs.Sys_WaitForProcessToExist("clickshare_native.exe",30,1)
$cs.Sys_KillProcess("clickshare_native.exe")

returns nothing