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:
kohta ito 2019-03-12 19:31:27 +09:00 committed by Daniel Bevenius
parent cd9898a52a
commit e08ac04a1a

View File

@ -637,7 +637,8 @@ pipes between the parent and child. The value is one of the following:
occurred). occurred).
6. Positive integer - The integer value is interpreted as a file descriptor 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 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 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 words, stdin, stdout, and stderr) a pipe is created. For fd 3 and up, the
default is `'ignore'`. default is `'ignore'`.