Python 2 compat in browser check (#4999)
Python 2 compat in browser check (#4999)

* Python 2 compat

* Fix subprocess call

jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab