The
process.argvproperty returns an array containing the command-line arguments passed when the Node.js process was launched.
This is probably as far as it gets, but I just want to double-check. Because process.argv makes things more complicated for what I have in mind. Gluing it back will make a bad service either.
Ideally, I would love to see links to discussions on why it is done this way only, or an example how to get a raw command line without duct tape.