Node.js 【Node.js】process完全ガイド|環境変数・コマンドライン引数・終了コード
Node.jsのprocessオブジェクトを実機で確認しながら解説します。process.envでの環境変数(値は常に文字列)、process.argvでのコマンドライン引数(argv[2]が最初の引数)、process.exitとexitCodeでの終了コード、platform/version/cwd、標準入出力とシグナルまで整理します。
Node.js
Node.js
Node.js
Node.js
Node.js
Node.js
PowerShell
PowerShell
PowerShell
PowerShell
PowerShell
PowerShell
PowerShell
PowerShell
PowerShell
PowerShell
PowerShell
PowerShell
PowerShell
JavaScript