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 danielleadams committed Jan 12, 2021
1 parent c4ad50e commit 2d8423d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/child_process.md
Original file line number Diff line number Diff line change
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 2d8423d

Please sign in to comment.