Commit cd2b80c
process: avoid using the same fd for ipc and stdio
There is already a check in place to prevent stdin and the IPC
channel from sharing a file descriptor. This commit adds a
similar check to stdout and stderr.
Refs: libuv/libuv#1851
Refs: libuv/libuv#1897
PR-URL: #21466
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent fefa57a commit cd2b80cCopy full SHA for cd2b80c
File tree
Expand file treeCollapse file tree
1 file changed
+18
-5
lines changedOpen diff view settings
Filter options
- lib/internal/process
Expand file treeCollapse file tree
1 file changed
+18
-5
lines changedOpen diff view settings
Collapse file
lib/internal/process/stdio.js
Copy file name to clipboardExpand all lines: lib/internal/process/stdio.js+18-5Lines changed: 18 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
182 | 182 | |
183 | 183 | |
184 | 184 | |
185 | | - |
186 | | - |
187 | | - |
188 | | - |
189 | | - |
| 185 | + |
| 186 | + |
| 187 | + |
| 188 | + |
| 189 | + |
| 190 | + |
| 191 | + |
| 192 | + |
| 193 | + |
| 194 | + |
| 195 | + |
| 196 | + |
| 197 | + |
| 198 | + |
| 199 | + |
| 200 | + |
| 201 | + |
| 202 | + |
190 | 203 | |
191 | 204 | |
192 | 205 | |
|
0 commit comments