Home
Sign Up
Sign In
Advertisement
V2EX
›
Node.js
node app.js
0x001
·
Jul 1, 2014
· 5127 views
This topic created in 4380 days ago, the information mentioned may be changed or developed.
这样运行app.js, 请问如何传参数进去?
app.js
Node
参数
3 replies
•
2014-07-01 17:10:13 +08:00
1
0x001
OP
Jul 1, 2014
USER_ID='123' node app.js
2
ine181x
Jul 1, 2014
process.argv
3
Tonni
Jul 1, 2014
http://stackoverflow.com/questions/4351521/how-to-pass-command-line-arguments-to-node-js
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
2663 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 27ms ·
UTC 10:39
·
PVG 18:39
·
LAX 03:39
·
JFK 06:39
♥ Do have faith in what you're doing.
❯