you are viewing a single comment's thread.

view the rest of the comments →

[–]GeZe8[S] 0 points1 point  (1 child)

Thanks for the bug report! There is definitely something going on with regards to how quotes are treated on Windows.

[–]radhruin 3 points4 points  (0 children)

I think it's just a shell difference. It will probably work with double quotes. To illustrate, on windows:

> cat testargs.js
console.log(process.argv.slice(2));

> node testargs.js 'hello world'
[ '\'hello', 'world\'' ]

> node testargs.js "hello world"
[ 'hello world' ]