GeezerVison is showing github.com — doc: correct info in child_process.md · nodejs/node@6885dcc
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
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 number | Diff line number | Diff line change |
|---|
@@ -1067,7 +1067,7 @@ added: v0.1.90 |
1067 | 1067 | A `Readable Stream` that represents the child process's `stderr`. |
1068 | 1068 |
|
1069 | 1069 | If the child was spawned with `stdio[2]` set to anything other than `'pipe'`, |
1070 | | -then this will be `undefined`. |
| 1070 | +then this will be `null`. |
1071 | 1071 |
|
1072 | 1072 | `child.stderr` is an alias for `child.stdio[2]`. Both properties will refer to |
1073 | 1073 | the same value. |
@@ -1085,7 +1085,7 @@ A `Writable Stream` that represents the child process's `stdin`. |
1085 | 1085 | continue until this stream has been closed via `end()`.* |
1086 | 1086 |
|
1087 | 1087 | If the child was spawned with `stdio[0]` set to anything other than `'pipe'`, |
1088 | | -then this will be `undefined`. |
| 1088 | +then this will be `null`. |
1089 | 1089 |
|
1090 | 1090 | `child.stdin` is an alias for `child.stdio[0]`. Both properties will refer to |
1091 | 1091 | the same value. |
@@ -1140,7 +1140,7 @@ added: v0.1.90 |
1140 | 1140 | A `Readable Stream` that represents the child process's `stdout`. |
1141 | 1141 |
|
1142 | 1142 | If the child was spawned with `stdio[1]` set to anything other than `'pipe'`, |
1143 | | -then this will be `undefined`. |
| 1143 | +then this will be `null`. |
1144 | 1144 |
|
1145 | 1145 | `child.stdout` is an alias for `child.stdio[1]`. Both properties will refer |
1146 | 1146 | to the same value. |
|