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>
This commit is contained in:
ugultopu authored and James M Snell committed 2021-01-09 12:13:23 -08:00
1 parent f5287a4b7b
commit 6498e054a1
1 file changed
+1 -1
+1 -1
View File
@@ -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