protected void StartSleepKillWait(Process p) { p.Start(); Thread.Sleep(50); p.Kill(); Assert.True(p.WaitForExit(WaitInMS)); }