mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
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:
1 parent
f5287a4b7b
commit
6498e054a1
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user