public void WaitForIdle(int timeout) { if (parent != null) { parent.WaitForIdle(timeout); } else if (p != null && !p.HasExited) { p.WaitForInputIdle(); } }
public void WaitForIdle(int timeout) { if (_parent != null) { _parent.WaitForIdle(timeout); } else if (_process != null && !_process.HasExited) { _process.WaitForInputIdle(timeout); } }