Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
Bug report
Bug description:
webbrowser.py reads the environment variable "BROWSER" to find executable using "_synthesize".
This does not work with macOS, where the browser is open by either
/Applications/Google\Chrome.app/Contents/MacOS/Google\Chrome
or
open -a"Google Chrome"it doesn't match the list of configured browsers
Workaround is to create a zsh script in the path called 'chrome':
#!/bin/zsh#open -a"Google Chrome.app" $
"_synthesize" needs to be fixed.
CPython versions tested on:
3.11
Operating systems tested on:
macOS