private static void KillProcess(ConEmuControl terminal) { ConEmuSession session = terminal.RunningSession; if (session != null) { session.SendControlCAsync(); } }
public override void KillProcess() { ConEmuSession session = _terminal.RunningSession; if (session != null) { session.SendControlCAsync(); } }