-
-
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] Shims fail if path contains spaces #4728
Comments
What if you change scoop to 'develop'? scoop config SCOOP_BRANCH develop
scoop update
scoop reset git |
Same problem. I've just changed the shim myself and it works with the solution given above. Possible Solution The git shim should be updated to: |
Have you tested |
Yes, and it works! I've just realized that this problem affects multiple shims (yt-dlp, ffmpeg, ...). It should get fixed there too. |
I'm not able to reproduce this issue. My .shim files have paths with spaces and don't require double quotes. Can you try these step:
|
Maybe it's the bug of default shimexe? If so, it should be fixed. |
We changed the default shim to kiennq some months ago, so that's not likely. |
Hey, sorry for not answering fast. |
i got the same problem, that may be related to python env. |
scoop config SCOOP_BRANCH fix-shim |
It doesn't. Does your username contain special/accented characters? |
Yes, I modified Scoop installed path at "D:\Program Files\Scoop", so shim path contain spaces character. OS: windows 10 |
Before today, Scoop works well. |
@jbehmel Have you installed MSVC build tools recently? |
@rashil2000 I think some windows setting changed, My app, windows Terminal, has the same problem, must add Before install MSVC Buildtools, it works well, |
I also have MSVC build tools installed, since a long time now. |
For Windows Terminal you will need double quotes because it's json and the binary path has spaces. |
Could you try uninstalling MSVC tools to confirm if that is causing this problem? |
If adding quotes doesn't introduce a new bug, #4734 could be merged. |
@JcobCN any updates on this? |
Fixed by #4767.
to use the fixed shim.exe. |
Closed in #4734 |
Bug Report
git
Current Behaviour
Scoop is unable to run command: "Could not create process with command <...>"
Expected Behaviour
Scoop should update
Additional context/output
My username has a space in between.
Possible Solution
The git shim should be updated to:
path = "C:\Users\User Name\scoop\apps\git\current\cmd\git.exe"
System details
Windows version: 11
OS architecture: 64bit
**PowerShell version:**5.1.22000.282
Scoop Configuration
The text was updated successfully, but these errors were encountered: