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:
Georg Brandl 2006-09-30 07:31:57 +00:00
parent 21d994390c
commit 8c6674511b
2 changed files with 4 additions and 1 deletions

View file

@ -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",