Skip to content

Commit

Permalink
Documentation: child_process.sparn options.stdio stream
Browse files Browse the repository at this point in the history
  • Loading branch information
langpavel committed Sep 18, 2012
1 parent 8033bcf commit 35e3962
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/api/child_process.markdown
Expand Up @@ -357,6 +357,8 @@ index corresponds to a fd in the child. The value is one of the following:
file, socket, or a pipe with the child process. The stream's underlying
file descriptor is duplicated in the child process to the fd that
corresponds to the index in the `stdio` array.
Note that stream must have a valid file descriptor,
that means file must be opened.
5. Positive integer - The integer value is interpreted as a file descriptor
that is is currently open in the parent process. It is shared with the child
process, similar to how `Stream` objects can be shared.
Expand Down

0 comments on commit 35e3962

Please sign in to comment.