Commit 3a89b2b1 authored by Martin v. Löwis's avatar Martin v. Löwis

Patch #484847: Default to netscape.exe on OS/2.

parent 90c45142
......@@ -116,6 +116,7 @@ class Netscape:
cmd = "%s %s -remote '%s' >/dev/null 2>&1" % (self.name,
raise_opt,
action)
print cmd
rc = os.system(cmd)
if rc:
import time
......@@ -298,6 +299,15 @@ else:
_tryorder = ("internet-config")
register("internet-config", InternetConfig)
#
# Platform support for OS/2
#
if sys.platform[:3] == "os2" and _iscommand("netscape.exe"):
_tryorder = ("os2netscape",)
register("os2netscape", None,
GenericBrowser("start netscape.exe %s"))
# OK, now that we know what the default preference orders for each
# platform are, allow user to override them with the BROWSER variable.
#
......
......@@ -12,6 +12,8 @@ Extension modules
Library
- webbrowser defaults to netscape.exe on OS/2 now.
Tools/Demos
Build
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment