Skip to content
Merged
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
18 changes: 9 additions & 9 deletions doc/api/child_process.md
Original file line number Diff line number Diff line change
Expand Up @@ -1670,7 +1670,7 @@ in which the child process is launched.
added: v0.1.90
-->

* {stream.Readable}
* {stream.Readable|null|undefined}

A `Readable Stream` that represents the child process's `stderr`.

Expand All @@ -1680,16 +1680,16 @@ then this will be `null`.
`subprocess.stderr` is an alias for `subprocess.stdio[2]`. Both properties will
refer to the same value.

The `subprocess.stderr` property can be `null` if the child process could
not be successfully spawned.
The `subprocess.stderr` property can be `null` or `undefined`
if the child process could not be successfully spawned.

### `subprocess.stdin`

<!-- YAML
added: v0.1.90
-->

* {stream.Writable}
* {stream.Writable|null|undefined}

A `Writable Stream` that represents the child process's `stdin`.

Expand All @@ -1702,8 +1702,8 @@ then this will be `null`.
`subprocess.stdin` is an alias for `subprocess.stdio[0]`. Both properties will
refer to the same value.

The `subprocess.stdin` property can be `undefined` if the child process could
not be successfully spawned.
The `subprocess.stdin` property can be `null` or `undefined`
if the child process could not be successfully spawned.

### `subprocess.stdio`

Expand Down Expand Up @@ -1755,7 +1755,7 @@ not be successfully spawned.
added: v0.1.90
-->

* {stream.Readable}
* {stream.Readable|null|undefined}

A `Readable Stream` that represents the child process's `stdout`.

Expand All @@ -1775,8 +1775,8 @@ subprocess.stdout.on('data', (data) => {
});
```

The `subprocess.stdout` property can be `null` if the child process could
not be successfully spawned.
The `subprocess.stdout` property can be `null` or `undefined`
if the child process could not be successfully spawned.

### `subprocess.unref()`

Expand Down