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 vstinner
Recipients desbma, serhiy.storchaka, vstinner
Date 2017-05-10.23:16:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1494458175.15.0.41726417669.issue30219@psf.upfronthosting.co.za>
In-reply-to
Content
p = subprocess.Popen(cmdline, close_fds=True,
+                                     stdin=subprocess.DEVNULL,
+                                     stdout=subprocess.DEVNULL,
+                                     stderr=subprocess.DEVNULL,
                                      start_new_session=True)

I don't think that always hiding output for any browser is a good idea.

xdg-open is supposed to be cross-desktop (GNOME, XFCE, KDE, etc.).

Maybe a better fix is to use "gio" if available, or fallback on xdg-open otherwise? But gio is specific to GNOME no? What if the user has GNOME and KDE installed?
History
Date User Action Args
2017-05-10 23:16:15vstinnersetrecipients: + vstinner, serhiy.storchaka, desbma
2017-05-10 23:16:15vstinnersetmessageid: <1494458175.15.0.41726417669.issue30219@psf.upfronthosting.co.za>
2017-05-10 23:16:15vstinnerlinkissue30219 messages
2017-05-10 23:16:15vstinnercreate