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 tim.golden
Recipients Eddie E, georg.brandl, tim.golden
Date 2009-05-05.05:06:22
SpamBayes Score 4.86776e-11
Marked as misclassified No
Message-id <>
In-reply-to <>
Edmund Eyles wrote:
> New submission from Edmund Eyles <>:
> The documentation for the webbrowser module at
> 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.

Arguably, that is (implictly) standard behaviour on Windows: if
you invoke a program with its name alone, it generally has to
be on the PATH. However... Firefox (and IE) use the AppPaths
registry entries to ensure that someone using *shell* functionality
such as Start > Run or ShellExecute need only enter "firefox".
The webbrowser module doesn't perform this particular indirection,
hence the OP's confusion.
Date User Action Args
2009-05-05 05:06:44tim.goldensetrecipients: + tim.golden, georg.brandl, Eddie E
2009-05-05 05:06:41tim.goldenlinkissue5935 messages
2009-05-05 05:06:33tim.goldencreate