Skip to main content

install_argv

Function install_argv 

Source
pub fn install_argv()
Expand description

Publish Node’s process.argv / process.execArgv split for this run, read off the real command line. Called once by the node binary’s entry point; first call wins.

argv[1] is the entry script RESOLVED against the current directory, so node ./x.js reports the same absolute path path.resolve would — not the spelling that was typed.