In a bash script, I need to launch the user web browser. There seems to be many ways of doing this:
$BROWSER
xdg-open
python -mwebbrowser http://example.com
works on many platforms