-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
win: Node.js command prompt fails to set PATH with unescaped & in it #4802
Labels
windows
Issues and PRs related to the Windows platform.
Comments
mscdex
added a commit
to mscdex/io.js
that referenced
this issue
Jan 21, 2016
This commit fixes an issue with the Node.js command prompt on Windows where the PATH environment variable would not be set correctly if the existing PATH contained an '&'. Fixes: nodejs#4802
#4804 should fix this. |
That was fast! I didn't think about quoting the entire thing. Thanks. |
rvagg
pushed a commit
that referenced
this issue
Jan 25, 2016
This commit fixes an issue with the Node.js command prompt on Windows where the PATH environment variable would not be set correctly if the existing PATH contained an '&'. Fixes: #4802 PR-URL: #4804 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
MylesBorins
pushed a commit
that referenced
this issue
Feb 17, 2016
This commit fixes an issue with the Node.js command prompt on Windows where the PATH environment variable would not be set correctly if the existing PATH contained an '&'. Fixes: #4802 PR-URL: #4804 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
MylesBorins
pushed a commit
that referenced
this issue
Feb 18, 2016
This commit fixes an issue with the Node.js command prompt on Windows where the PATH environment variable would not be set correctly if the existing PATH contained an '&'. Fixes: #4802 PR-URL: #4804 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
MylesBorins
pushed a commit
that referenced
this issue
Mar 2, 2016
This commit fixes an issue with the Node.js command prompt on Windows where the PATH environment variable would not be set correctly if the existing PATH contained an '&'. Fixes: #4802 PR-URL: #4804 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
scovetta
pushed a commit
to scovetta/node
that referenced
this issue
Apr 2, 2016
This commit fixes an issue with the Node.js command prompt on Windows where the PATH environment variable would not be set correctly if the existing PATH contained an '&'. Fixes: nodejs#4802 PR-URL: nodejs#4804 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Given a PATH on Windows with the following directory entry:
... Node.js Command Prompt will echo the error:
Windows Command Prompt parses this path just fine.
Now, a permanent solution (for the user) would be to change the PATH to use quotations around this directory... but I'd argue that paths like these may be more common "in the wild" than we think. It would be ideal to nip it in the bud with a robust solution that mirrors the vanilla Command Prompt's behavior, but I'm not sure if one exists.
The text was updated successfully, but these errors were encountered: