Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: correct info in child_process.md #11949

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions doc/api/child_process.md
Original file line number Diff line number Diff line change
Expand Up @@ -1132,7 +1132,7 @@ added: v0.1.90
A `Readable Stream` that represents the child process's `stderr`.

If the child was spawned with `stdio[2]` set to anything other than `'pipe'`,
then this will be `undefined`.
then this will be `null`.

`child.stderr` is an alias for `child.stdio[2]`. Both properties will refer to
the same value.
Expand All @@ -1150,7 +1150,7 @@ A `Writable Stream` that represents the child process's `stdin`.
continue until this stream has been closed via `end()`.*

If the child was spawned with `stdio[0]` set to anything other than `'pipe'`,
then this will be `undefined`.
then this will be `null`.

`child.stdin` is an alias for `child.stdio[0]`. Both properties will refer to
the same value.
Expand Down Expand Up @@ -1205,7 +1205,7 @@ added: v0.1.90
A `Readable Stream` that represents the child process's `stdout`.

If the child was spawned with `stdio[1]` set to anything other than `'pipe'`,
then this will be `undefined`.
then this will be `null`.

`child.stdout` is an alias for `child.stdio[1]`. Both properties will refer
to the same value.
Expand Down