static void Main(string[] args) { IProcess consoleProcess = new ConsoleProcess(); //Starting a new process consoleProcess.Start(); //Trying to start a already started process consoleProcess.Start(); //Stopping the process consoleProcess.Stop(); }
static void Main(string[] args) { IProcess consoleProcess = new ConsoleProcess(); //Starting a new process consoleProcess.Start(); //Trying to start a already started process consoleProcess.Start(); //Stopping the process consoleProcess.Stop(); }