Ensuring subprocesses are dead on exiting Python program
Is there a way to ensure all created subprocess are dead at exit time of a Python program? By subprocess I mean those created with subprocess.Popen().
Is there a way to ensure all created subprocess are dead at exit time of a Python program? By subprocess I mean those created with subprocess.Popen().
Zombie processes are created in Unix/Linux systems.
We can remove them via the kill command.