summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Roberts <sam@strongloop.com>2014-01-15 17:13:32 -0800
committerTimothy J Fontaine <tjfontaine@gmail.com>2014-01-16 07:35:12 -0800
commit198ed0bd0da9dee471bb8bfb7f6e97be506224ed (patch)
treea3b95c2f8190b502a90e59628608efba8e7c909f
parent549be1caa84b4746a3697943bf4b19acb6430cc2 (diff)
downloadnode-198ed0bd0da9dee471bb8bfb7f6e97be506224ed.tar.gz
doc: describe child_process.fork() silent option
-rw-r--r--doc/api/child_process.markdown6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/api/child_process.markdown b/doc/api/child_process.markdown
index e15ac02ec..9c7125c62 100644
--- a/doc/api/child_process.markdown
+++ b/doc/api/child_process.markdown
@@ -564,8 +564,10 @@ leaner than `child_process.exec`. It has the same options.
* `execPath` {String} Executable used to create the child process
* `execArgv` {Array} List of string arguments passed to the executable
(Default: `process.execArgv`)
- * `silent` {Boolean} If true, prevent stdout and stderr in the spawned node
- process from being associated with the parent's (default is false)
+ * `silent` {Boolean} If true, stdin, stdout, and stderr of the child will be
+ piped to the parent, otherwise they will be inherited from the parent, see
+ the "pipe" and "inherit" options for `spawn()`'s `stdio` for more details
+ (default is false)
* Return: ChildProcess object
This is a special case of the `spawn()` functionality for spawning Node