fix(openclaw): resolve installation failure on Windows with spaces in path#12977
Merged
kangfenmao merged 1 commit intomainfrom Feb 21, 2026
Merged
fix(openclaw): resolve installation failure on Windows with spaces in path#12977kangfenmao merged 1 commit intomainfrom
kangfenmao merged 1 commit intomainfrom
Conversation
This was
linked to
issues
Feb 20, 2026
Closed
DeJeune
approved these changes
Feb 20, 2026
… path Fixes issue #12945 where npm command path with spaces (e.g., C:\Program Files\nodejs\npm.cmd) was not properly handled during OpenClaw installation. Changes: - Use spawn with shell:true directly for npm paths containing spaces - Only affects install() and uninstall() methods in OpenClawService - Minimal impact scope, no changes to crossPlatformSpawn or other callers
85b2f1d to
dff6b91
Compare
kangfenmao
approved these changes
Feb 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does
Before this PR:
After this PR:
Fixes #12945, #12935, #12963
Why we need it and why it was done in this way
Breaking changes
Special notes for your reviewer
Checklist
Release note