Skip to content

Commit 43b8a4f

Browse files
mifidanielleadams
authored andcommitted
doc: improve pipe description
I spent hours trying to make it work only to learn that it's not supported in node anymore, so I thought I'd save other people the time in the future. https://groups.google.com/g/nodejs/c/SxNKLclbM5k?pli=1 PR-URL: #42295 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Mestery <[email protected]>
1 parent 8d734cb commit 43b8a4f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/api/child_process.md

+3
Original file line numberDiff line numberDiff line change
@@ -784,6 +784,9 @@ pipes between the parent and child. The value is one of the following:
784784
`child_process` object as [`subprocess.stdio[fd]`][`subprocess.stdio`]. Pipes
785785
created for fds 0, 1, and 2 are also available as [`subprocess.stdin`][],
786786
[`subprocess.stdout`][] and [`subprocess.stderr`][], respectively.
787+
Currently, these are not actual Unix pipes and therefore the child process
788+
can not use them by their descriptor files,
789+
e.g. `/dev/fd/2` or `/dev/stdout`.
787790
2. `'overlapped'`: Same as `'pipe'` except that the `FILE_FLAG_OVERLAPPED` flag
788791
is set on the handle. This is necessary for overlapped I/O on the child
789792
process's stdio handles. See the

0 commit comments

Comments
 (0)