-
Notifications
You must be signed in to change notification settings - Fork 854
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
export BROWSER='/mnt/c/path/to/ms_edge_binary' #3405
Comments
@snobu - You can make it a bit less horrible: |
That doesn't work. Actually my horrible example doesn't work either, i just tried to mock up a launch command.
|
@snobu - Works on my box: |
Ran course. If the ask here is "Chrome & IE good, Edge bad" there is the Feedback Hub and an Edge Microsoft Edge platform feedback site. |
Hey! this is closed but i can't find the solution yet! |
You could try the new Edge+Chromium thing. |
I guess it could work, but I can't find how to even try it! |
Is running Windows binaries still a thing in WSL2? |
Windows binary (PE) can be executed in WSL2 as same as in WSL1, like before. Just enter the executable name. For example, my Firefox is here |
That "whenever" is the rub. It isn't straightforward to coax
The original motivation for the ask in the OP was "you can't just launch the
Needless to say, |
All WSL distros should export
BROWSER='/mnt/c/path/to/ms_edge_binary'
by default, so something like$ python -m webbrowser -t "http://www.python.org"
can pop up a browser.
Also, this part (
/mnt/c/path/to/ms_edge_binary
) isn't trivial, you can't just launch the .exe since there's no .exe, there are just some shims, instead you need to do horrible things likewhich doesn't really work.
If you export
BROWSER='/mnt/c/path/to/chrome.exe'
it all works nicely, so that's what WSL should strive for with Edge.I believe an extra shim, e.g.
WSLEdgeShim.exe
would be a good enough solution, as long as it's exported by default.The text was updated successfully, but these errors were encountered: