diff options
author | ugultopu <ugultopu@users.noreply.github.com> | 2021-01-06 04:39:31 +0300 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2021-01-09 23:13:23 +0300 |
commit | 6498e054a18d5eba232fa9822fc93c00eaf45974 (patch) | |
tree | 59129a94d08910b154d94d26573b5aa1b30a1ce1 /doc/api/child_process.md | |
parent | f5287a4b7b0b14f69b264d8017b76c100f5bc2c1 (diff) |
doc: clarify child_process.exec inherits cwd
PR-URL: https://github.com/nodejs/node/pull/36809
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Pooja D P <Pooja.D.P@ibm.com>
Reviewed-By: Yash Ladha <yash@yashladha.in>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api/child_process.md')
-rw-r--r-- | doc/api/child_process.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/child_process.md b/doc/api/child_process.md index 6b092a83018..afd756db79e 100644 --- a/doc/api/child_process.md +++ b/doc/api/child_process.md @@ -154,7 +154,7 @@ changes: * `command` {string} The command to run, with space-separated arguments. * `options` {Object} * `cwd` {string} Current working directory of the child process. - **Default:** `null`. + **Default:** `process.cwd()`. * `env` {Object} Environment key-value pairs. **Default:** `process.env`. * `encoding` {string} **Default:** `'utf8'` * `shell` {string} Shell to execute the command with. See |