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 c6ea3d6

Browse filesBrowse files
Trottaddaleax
authored andcommitted
doc: make minor improvements to paragraph in child_process.md
Use shorter and more direct phrasing. PR-URL: #34063 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Denys Otrishko <shishugi@gmail.com>
1 parent 21b0132 commit c6ea3d6
Copy full SHA for c6ea3d6

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+3
-3
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
+3-3Lines changed: 3 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,9 @@ metacharacters may be used to trigger arbitrary command execution.**
194194
If a `callback` function is provided, it is called with the arguments
195195
`(error, stdout, stderr)`. On success, `error` will be `null`. On error,
196196
`error` will be an instance of [`Error`][]. The `error.code` property will be
197-
the exit code of the child process while `error.signal` will be set to the
198-
signal that terminated the process. Any exit code other than `0` is considered
199-
to be an error.
197+
the exit code of the process. By convention, any exit code other than `0`
198+
indicates an error. `error.signal` will be the signal that terminated the
199+
process.
200200

201201
The `stdout` and `stderr` arguments passed to the callback will contain the
202202
stdout and stderr output of the child process. By default, Node.js will decode

0 commit comments

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