This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients martin.panter, pitrou, python-dev, serhiy.storchaka, vstinner
Date 2016-05-20.12:03:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I tried out your code on the webbrowser module, and it does raise a warning:

>>> import webbrowser
>>> b = webbrowser.get("chromium")
/home/proj/python/cpython/Lib/ ResourceWarning: running subprocess <subprocess.Popen object at 0x7f1ef31c90c0>

At this point, the Python interpreter has a child process “chromium” which is left as a zombie when it exits. I guess the easiest solution (at least for Unix) would be to spawn an intermediate launcher process that exited after launching the web browser process.
Date User Action Args
2016-05-20 12:03:10martin.pantersetrecipients: + martin.panter, pitrou, vstinner, python-dev, serhiy.storchaka
2016-05-20 12:03:10martin.pantersetmessageid: <>
2016-05-20 12:03:10martin.panterlinkissue26741 messages
2016-05-20 12:03:10martin.pantercreate