zombie-process

Ensuring subprocesses are dead on exiting Python program

Ensuring subprocesses are dead on exiting Python program Question: 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(). If not, should I iterate over all of the issuing kills and then kills -9? anything cleaner? Asked By: pupeno …

Total answers: 15