Note: This question has been re-asked with a summary of all debugging attempts here.
I have a Python script that is running as a background pr
You need to
ps = subprocess.Popen(["sleep", "1000"]) os.waitpid(ps.pid, 0)
to free resources.
Note: this does not work on Windows.