mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Bug #1565661: in webbrowser, split() the command for the default
GNOME browser in case it is a command with args.
This commit is contained in:
parent
21d994390c
commit
8c6674511b
2 changed files with 4 additions and 1 deletions
|
@ -447,7 +447,7 @@ def register_X_browsers():
|
|||
|
||||
# if successful, register it
|
||||
if retncode is None and commd:
|
||||
register("gnome", None, BackgroundBrowser(commd))
|
||||
register("gnome", None, BackgroundBrowser(commd.split()))
|
||||
|
||||
# First, the Mozilla/Netscape browsers
|
||||
for browser in ("mozilla-firefox", "firefox",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue