Message31592
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. |
|
Date |
User |
Action |
Args |
2007-08-23 14:52:38 | admin | link | issue1684254 messages |
2007-08-23 14:52:38 | admin | create | |
|