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

Spuriously escapes some characters on windows #161

Closed
msakrejda opened this issue Sep 25, 2018 · 1 comment
Closed

Spuriously escapes some characters on windows #161

msakrejda opened this issue Sep 25, 2018 · 1 comment
Labels

Comments

@msakrejda
Copy link

msakrejda commented Sep 25, 2018

I'm working with node-foreman in Powershell and noticed that it seems to escape some characters in the command arguments before invoking the command. Here are some simple steps to reproduce:

> cat .\test.js
console.log(...process.argv.slice(2))
> npx node .\test.js hello:world
hello:world
> npx nf run node .\test.js hello:world
[WARN] No ENV file found
hello\:world

The backslash breaks some tools like knex which have subcommands that include a colon. I'm not sure why this is happening, but pretty sure based on the above that it's node-foreman causing that backslash to be inserted. Any ideas?

Windows 10, foreman 3.0.1

@stale
Copy link

stale bot commented Nov 24, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Nov 24, 2018
@stale stale bot closed this as completed Dec 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant