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

This commit is contained in:
Martin v. Löwis 2001-11-25 14:35:58 +00:00
parent 90c45142d7
commit 3a89b2b131
2 changed files with 12 additions and 0 deletions

View File

@ -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.
#

View File

@ -12,6 +12,8 @@ Extension modules
Library
- webbrowser defaults to netscape.exe on OS/2 now.
Tools/Demos
Build