Access to raw arguments of Node.js script on Windows -
node.js substitute argument looked path complete path in windows environment.
$ node -e 'console.log(process.argv)' /arg1
output:
[ 'c:\\program files\\nodejs\\node.exe', 'c:/program files (x86)/git/arg1' ]
this substitution doesn't occur in osx , linux environments.
how can actual content of cli argument on windows?
Comments
Post a Comment