-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Launch browser from BashOnWindows / WSL #2733
Comments
I'm not sure the best way to detect BashOnWindows, but removing this block allows the browser to launch with
I can also add this further down to automatically detect explorer.exe.
But it needs to appear as the first condition, because |
I think we need a |
I'm using drush via BashOnWindows and wondering if it's possible to launch a browser with
drush uli
.Outside of drush I can launch a browser with
cmd.exe /c start "https://github.com/drush-ops/drush"
and wondering if I can coerce drush to run a similar command. I trieddrush uli --browser="cmd.exe /c start"
but to no avail.I've also tried
explorer.exe "https://github.com/drush-ops/drush"
which opens the default browser but again doesn't work as a drush option for the--browser
parameter.Is this a drush limitation or something else?
UPDATE: I tried with verbose output:
No graphical display appears to be available, not starting browser.
Can this be bypassed?
The text was updated successfully, but these errors were encountered: