Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2d8423d

Browse filesBrowse files
ugultopudanielleadams
authored andcommitted
doc: clarify child_process.exec inherits cwd
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>
1 parent c4ad50e commit 2d8423d
Copy full SHA for 2d8423d

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎doc/api/child_process.md‎

Copy file name to clipboardExpand all lines: doc/api/child_process.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ changes:
154154
* `command` {string} The command to run, with space-separated arguments.
155155
* `options` {Object}
156156
* `cwd` {string} Current working directory of the child process.
157-
**Default:** `null`.
157+
**Default:** `process.cwd()`.
158158
* `env` {Object} Environment key-value pairs. **Default:** `process.env`.
159159
* `encoding` {string} **Default:** `'utf8'`
160160
* `shell` {string} Shell to execute the command with. See

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.