This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author luks
Recipients
Date 2007-03-20.11:09:15
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
With Python 2.4 it was common to use BROWSER environment variables like:

BROWSER="firefox '%s' &"

to launch a browser. The apostrophes around %s are required to escape special characters in the URL (because the command is launched using os.system, which uses a shell), and & at the end is required to not block GUI applications. However, in Python 2.5 it uses the subprocess module, and the example above doesn't work. It tries to open `firefox 'URL' &` literally, which causes Firefox to open URIs like file:///path/to/current/directory/'URL'.

Attached a patch that fixes the problem.
History
Date User Action Args
2007-08-23 14:52:38adminlinkissue1684254 messages
2007-08-23 14:52:38admincreate