Skip to content

Commit

Permalink
doc: clarify child_process.exec inherits cwd
Browse files Browse the repository at this point in the history
PR-URL: #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>
  • Loading branch information
ugultopu authored and targos committed May 1, 2021
1 parent 73c1999 commit 57e27a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/child_process.md
Expand Up @@ -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
Expand Down

0 comments on commit 57e27a3

Please sign in to comment.