Skip to content

Commit bc7449c

Browse files
koh110BethGriggs
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 6a5d42e commit bc7449c

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
@@ -631,7 +631,8 @@ pipes between the parent and child. The value is one of the following:
631631
event has occurred).
632632
6. Positive integer - The integer value is interpreted as a file descriptor
633633
that is currently open in the parent process. It is shared with the child
634-
process, similar to how {Stream} objects can be shared.
634+
process, similar to how {Stream} objects can be shared. Passing sockets
635+
is not supported on Windows.
635636
7. `null`, `undefined` - Use default value. For stdio fds 0, 1, and 2 (in other
636637
words, stdin, stdout, and stderr) a pipe is created. For fd 3 and up, the
637638
default is `'ignore'`.

0 commit comments

Comments
 (0)