private void AssertNotRunning() { if(_running != null) throw new InvalidOperationException("This change is not possible when a console process is already running."); }