Message293461
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? |
|
Date |
User |
Action |
Args |
2017-05-10 23:16:15 | vstinner | set | recipients:
+ vstinner, serhiy.storchaka, desbma |
2017-05-10 23:16:15 | vstinner | set | messageid: <1494458175.15.0.41726417669.issue30219@psf.upfronthosting.co.za> |
2017-05-10 23:16:15 | vstinner | link | issue30219 messages |
2017-05-10 23:16:15 | vstinner | create | |
|