On Windows, subprocess.Popen.terminate calls win32’s TerminalProcess. However, the behavior I see is that child processes of the process I am trying to terminate are still running. Why is that? How do I ensure all child processes started by the process are killed?
On Windows, subprocess.Popen.terminate calls win32’s TerminalProcess . However, the behavior I see is that
Share
By using psutil: