Answer the question
In order to leave comments, you need to log in
Pass parameters when running node js server?
Is it possible to node index.js
pass parameters at startup, for example, login and password. Let's say I want to run a script via ssh on a php server, but I need to pass certain parameters.
Answer the question
In order to leave comments, you need to log in
nodejs.org/docs/latest/api/process.html#process_pr...
test.js: Passing
passwords as arguments is a bad idea, because these passwords will be visible in /proc/#/cmdline
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question