Eivind Tagseth <eivi...@multinet.no> added the comment: 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. ---------- nosy: +eivindt _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5993> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com