标签:files exe ace roc cmd 参数 process ram bsp
cmd: node app.js hello
app.js
var args = process.argv;
console.log(args);//[ ‘C:\\Program Files\\nodejs\\node.exe‘,‘E:\\jenkins\\workspace\\app.js‘,‘hello‘ ]
获取我们需要的参数:
标签:files exe ace roc cmd 参数 process ram bsp
原文地址:http://www.cnblogs.com/yourstars/p/7600925.html