doc: describe child_process.fork() silent option

archived-io.js-v0.10
Sam Roberts 2014-01-15 17:13:32 -08:00 committed by Timothy J Fontaine
parent 549be1caa8
commit 198ed0bd0d
1 changed files with 4 additions and 2 deletions

View File

@ -564,8 +564,10 @@ leaner than `child_process.exec`. It has the same options.
* `execPath` {String} Executable used to create the child process * `execPath` {String} Executable used to create the child process
* `execArgv` {Array} List of string arguments passed to the executable * `execArgv` {Array} List of string arguments passed to the executable
(Default: `process.execArgv`) (Default: `process.execArgv`)
* `silent` {Boolean} If true, prevent stdout and stderr in the spawned node * `silent` {Boolean} If true, stdin, stdout, and stderr of the child will be
process from being associated with the parent's (default is false) 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 * Return: ChildProcess object
This is a special case of the `spawn()` functionality for spawning Node This is a special case of the `spawn()` functionality for spawning Node