diff --git a/doc/api/process.md b/doc/api/process.md index 113c336f7ab646..3f191d9fe73504 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -1711,15 +1711,13 @@ the script name. These options are useful in order to spawn child processes with the same execution environment as the parent. ```bash -node --harmony script.js --version +node --icu-data-dir=./foo --require ./bar.js script.js --version ``` Results in `process.execArgv`: - - -```js -['--harmony'] +```json +["--icu-data-dir=./foo", "--require", "./bar.js"] ``` And `process.argv`: