-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[Bug] Can't add a shim to an exe with spaces in it's filepath #5313
Comments
Hello here, Currently, on dev branch (and master), test for "is_in_dir" fails.
The correct way to test should be
Should I open a new bug report for this test correction? Thanks |
@Valinor please make a separate PR |
So I'm trying to add a shim to open firefox from the command line, seems like the easiest way as I don't want to clutter up PATH, but because Windows land is very liberal with filepaths with spaces, this does not seem to be possible.
Here's the command I'm trying:
The error I receive is:
I have tried this with every configuration of the path I can think of. Forward slashes, escaping backslashes, single and double quotes, no quotes with escaped spaces, quotes with escaped spaces, including escaped quotes within the quotes, using MSYS instead of powershell with all of the above and it's
/c/
paths, every attempt results in the same error. Additionally, for my own sanity, I tried reversing the arguments, in case I was failing to understand how the command worked, and that simply gave an error thatFiles\Mozilla
did not exist. Seems the command is not liking a filepath with spaces.The text was updated successfully, but these errors were encountered: