Skip to content
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 command execution for Windows -- npm-run instead of npx #5

Merged
merged 2 commits into from
Dec 28, 2020

Conversation

PatrickLehnerXI
Copy link
Contributor

Use npm-run instead of npx to run dev_cmds because npx doesn't correctly escape arguments with quotes or spaces on Windows (and seems unmaintained, so no chance of a fix, making it unsuited for our usages).

See npm/npx#10 and npm/npx#43

Since devcmd now takes care of PATH augmentation, devcmd-cli can just execute node regularly and doesn't need to go through npx (this was probably already redundant before).

…tly escape arguments with quotes or spaces (and seems unmaintained, so no chance of a fix, making it unsuited for our usages).

See npm/npx#10 and npm/npx#43
… node, it will then find any node_modules binaries on its own (see previous commit)
@PatrickLehnerXI PatrickLehnerXI merged commit 2c159c3 into master Dec 28, 2020
@PatrickLehnerXI PatrickLehnerXI deleted the fix-command-execution-for-windows branch December 28, 2020 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant