X Tutup
The Wayback Machine - https://web.archive.org/web/20220420013454/https://github.com/nodejs/node/commit/c6ea3d6616
Skip to content
Permalink
Browse files
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>
  • Loading branch information
Trott authored and addaleax committed Sep 21, 2020
1 parent 21b0132 commit c6ea3d6616b89ee0e7f3e82874183831eb576272
Showing with 3 additions and 3 deletions.
  1. +3 −3 doc/api/child_process.md
@@ -194,9 +194,9 @@ metacharacters may be used to trigger arbitrary command execution.**
If a `callback` function is provided, it is called with the arguments
`(error, stdout, stderr)`. On success, `error` will be `null`. On error,
`error` will be an instance of [`Error`][]. The `error.code` property will be
the exit code of the child process while `error.signal` will be set to the
signal that terminated the process. Any exit code other than `0` is considered
to be an error.
the exit code of the process. By convention, any exit code other than `0`
indicates an error. `error.signal` will be the signal that terminated the
process.

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

0 comments on commit c6ea3d6

Please sign in to comment.
X Tutup