[New-bugs-announce] [issue5935] Better documentation of use of BROWSER environment variable

Edmund Eyles report at bugs.python.org
Tue May 5 04:13:50 CEST 2009

New submission from Edmund Eyles <hotel at heddonsgate.co.uk>:

The documentation for the webbrowser module at
http://www.python.org/doc/2.5/lib/module-webbrowser.html refers to the
use of the BROWSER environment variable as a means to control which
browser is run.  However, it makes no mention of how the browser name(s)
in this environment variable get translated into executables,
particularly the process by which the only directories to be searched
are those in the PATH environment variable.  

For instance, on my Windows PC where the default browser is IE, simply
setting BROWSER to 'firefox' has no effect.  I also need to add
'C:\Program Files\Mozilla Firefox' to PATH, after which Firefox actually
gets run.

assignee: georg.brandl
components: Documentation
messages: 87200
nosy: Eddie E, georg.brandl
severity: normal
status: open
title: Better documentation of use of BROWSER environment variable
type: feature request
versions: Python 2.5

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list