Does Process.Start terminate the child program when the parent terminates?
问题 Do programs started with Process.Start(exepath); terminate when the parent process ends? I'm getting some strange behavior with it and believe that could be the issue. 回答1: The short answer to your question is No, they don't. You will have to kill them explicitly.If you want to kill the process that you have started then you can use the handle returned by process.start. Something like this Process p = Process.Start("someprocess"); if (p != null) p.Kill(); 回答2: On Windows child processes