mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
doc: add Note of options.stdio into child_process
PR-URL: https://github.com/nodejs/node/pull/26604 Refs: https://github.com/nodejs/node/pull/22892#issuecomment-469173273 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
This commit is contained in:
1 parent
a44f98e333
commit
148c2ca33d
1 file changed
+2
-1
@@ -637,7 +637,8 @@ pipes between the parent and child. The value is one of the following:
|
||||
occurred).
|
||||
6. Positive integer - The integer value is interpreted as a file descriptor
|
||||
that is currently open in the parent process. It is shared with the child
|
||||
process, similar to how {Stream} objects can be shared.
|
||||
process, similar to how {Stream} objects can be shared. Passing sockets
|
||||
is not supported on Windows.
|
||||
7. `null`, `undefined` - Use default value. For stdio fds 0, 1, and 2 (in other
|
||||
words, stdin, stdout, and stderr) a pipe is created. For fd 3 and up, the
|
||||
default is `'ignore'`.
|
||||
|
||||
Reference in new issue
Block a user