Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI: Fix open in browser doesn't work in WSL #18305

Merged
merged 1 commit into from May 24, 2022

Commits on May 23, 2022

  1. Fix open in browser doesn't work in WSL

    On Linux, `x-default-browser` requires `xdg-utils` to be installed to
    determine a default browser. So it fails when it's not installed.
    However, in WSL, we still can open a browser without it. Now it
    fallbacks to `open` when `x-default-browser` fails which makes it work on WSL
    without `xdg-utils`.
    lesha1201 committed May 23, 2022
    Copy the full SHA
    eab88cc View commit details
    Browse the repository at this point in the history