-
-
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
fix(shim): Fix shim when app path has white spaces #4734
Conversation
I think we should wait for more people to test this. I have used multiple custom shims with whitespaces, and they work. |
Hey @rashil2000 how can i test it? |
Simpler method would be:
|
Tested it with some shims. Seems to work good. |
@rashil2000 Does this break something? |
I don't think so, but I have been unable to reproduce the original issue for a long time. My $Env:SCOOP points to 'E:\Scoop Stuff' and all my shims work 😢 |
Aha, I could not reproduce, too... Maybe some Env setting or OS version related? If it is harmless for other code or users, merging this tends to be not a bad choice. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, let's fix later if it breaks anything
Are we making a release? |
Yes, after merging this, I'll make a release. |
Description
Enclose app path with double quotes to fix bug while app path has white spaces.
Motivation and Context
Closes #4728
How Has This Been Tested?
Only occurred in exe shims, hard to test.
Checklist: