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 eivindt
Recipients dontbugme, eivindt
Date 2009-07-28.21:20:54
SpamBayes Score 1.7211932e-10
Marked as misclassified No
Message-id <1248816056.11.0.749290120311.issue5993@psf.upfronthosting.co.za>
In-reply-to
Content
The problem seems to be that there are no way to wait() for browser
processes that have died, and there is no mention of needing to wait()
in the documentation.

In my case, webbrowser finds my gnome-setting for the http-url handler
and sets up [ "firefox", "%s" ] as a BackgroundBrowser named 'gnome'.

BackgroundBrowser.open() creates a Popen object and calls p.poll().  The
Popened firefox process finds my existing firefox process, and asks it
to open the url, then terminates.  It doesn't act quickly enough to
terminate before p.poll() is called though, and I end up with a zombie
firefox process, that keeps me from ending firefox unless I also kill my
python process.

If this is how this is intended to work, there should at least be a
section in the documentation warning users to call os.waitX() themselves
to avoid zombie processes.
History
Date User Action Args
2009-07-28 21:20:56eivindtsetrecipients: + eivindt, dontbugme
2009-07-28 21:20:56eivindtsetmessageid: <1248816056.11.0.749290120311.issue5993@psf.upfronthosting.co.za>
2009-07-28 21:20:54eivindtlinkissue5993 messages
2009-07-28 21:20:54eivindtcreate