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

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -