mmaass-x · GitHub

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

Linked PRs

Read the original on github.com ↗