Skip to content

Commit 148c2ca

Browse files
koh110targos
authored andcommitted
doc: add Note of options.stdio into child_process
PR-URL: #26604 Refs: #22892 (comment) Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
1 parent a44f98e commit 148c2ca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/api/child_process.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,8 @@ pipes between the parent and child. The value is one of the following:
637637
occurred).
638638
6. Positive integer - The integer value is interpreted as a file descriptor
639639
that is currently open in the parent process. It is shared with the child
640-
process, similar to how {Stream} objects can be shared.
640+
process, similar to how {Stream} objects can be shared. Passing sockets
641+
is not supported on Windows.
641642
7. `null`, `undefined` - Use default value. For stdio fds 0, 1, and 2 (in other
642643
words, stdin, stdout, and stderr) a pipe is created. For fd 3 and up, the
643644
default is `'ignore'`.

0 commit comments

Comments
 (0)