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

Arguments are not correctly passed to the executed file #34

Open
floriancargoet opened this issue Jan 4, 2013 · 0 comments
Open

Arguments are not correctly passed to the executed file #34

floriancargoet opened this issue Jan 4, 2013 · 0 comments

Comments

@floriancargoet
Copy link
Contributor

Some arguments are passed to the executed file and some are not (and generate errors).

$ cat test.js
console.log(process.argv);
$ cover run test.js some arguments
[ 'node', '/tmp/options-test/test.js', 'some', 'arguments' ]
$ cover run test.js --some --arguments
error: unknown option `--some

commander is intercepting the arguments and exits the program since it doesn't recognize them.

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

No branches or pull requests

1 participant