Skip to content

Commit ae07287

Browse files
committed
doc: clarify subprocess.stdout/in/err property
1 parent c784365 commit ae07287

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/child_process.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1680,7 +1680,7 @@ then this will be `null`.
16801680
`subprocess.stderr` is an alias for `subprocess.stdio[2]`. Both properties will
16811681
refer to the same value.
16821682

1683-
The `subprocess.stderr` property can be `null` if the child process could
1683+
The `subprocess.stderr` property can be `null` or `undefined` if the child process could
16841684
not be successfully spawned.
16851685

16861686
### `subprocess.stdin`
@@ -1702,7 +1702,7 @@ then this will be `null`.
17021702
`subprocess.stdin` is an alias for `subprocess.stdio[0]`. Both properties will
17031703
refer to the same value.
17041704

1705-
The `subprocess.stdin` property can be `undefined` if the child process could
1705+
The `subprocess.stdin` property can be `null` or `undefined` if the child process could
17061706
not be successfully spawned.
17071707

17081708
### `subprocess.stdio`
@@ -1775,7 +1775,7 @@ subprocess.stdout.on('data', (data) => {
17751775
});
17761776
```
17771777

1778-
The `subprocess.stdout` property can be `null` if the child process could
1778+
The `subprocess.stdout` property can be `null` or `undefined` if the child process could
17791779
not be successfully spawned.
17801780

17811781
### `subprocess.unref()`

0 commit comments

Comments
 (0)