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 <[email protected]>
Reviewed-By: Pooja D P <[email protected]>
Reviewed-By: Yash Ladha <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • 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
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 57e27a3

Please sign in to comment.