You could execute a 'curl` which directly pipes into 'bash -c'.
See https://github.com/python/cpython/blob/master/Lib/webbrowser...
See https://github.com/python/cpython/blob/master/Lib/webbrowser...