-
Notifications
You must be signed in to change notification settings - Fork 855
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
explorer.exe cannot open URLs with arguments in them #3832
Comments
This is continuation #2835 formerly #1625 (message), others. Those talk about spaces a lot, but the problem is the escaping. You need to punch a quote through to the Windows side, otherwise that You might expect the following to work:
But it doesn't. It isn't clear to me whether that is by design or otherwise. Standard operating procedure seems to be to bounce it off |
Thanks for the info. Seems like the other ticket covers it; I'll run with the |
The |
Microsoft Windows [Version 10.0.17763.253]
using WSL Ubuntu 16.04.5 LTS
Background: I have a release script which does a bunch of automated things, then guides the user through a couple of manual actions where they have to go to a URL. In other shells the script opens the URL for them to make things easier, but I discovered
explorer.exe
via WSL cannot open URLs with arguments. It can open URLs without arguments, so this seems like a bug. Albeit not the end of the world, still a bug :)STEPS TO REPRODUCE...
These do work as expected (that is, the URL opens in the system default browser):
These do not work as expected:
Expected result:
URL opens in browser
Actual result:
Generic file explorer window opens
I did find this workaround:
...although I've not yet tested it in my release script (it's something I can't test at home on a weekend :)).
Raising a ticket anyway because it seems like a bug that some URLs will open with
explorer.exe
and others won't. If it's not considered a bug, this issue should at least tip others off to the workaround.The text was updated successfully, but these errors were encountered: