From 549be1caa84b4746a3697943bf4b19acb6430cc2 Mon Sep 17 00:00:00 2001 From: Sam Roberts Date: Wed, 15 Jan 2014 17:12:20 -0800 Subject: doc: child_process.execFile arguments are optional --- doc/api/child_process.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/api/child_process.markdown') diff --git a/doc/api/child_process.markdown b/doc/api/child_process.markdown index 7f5958f54..e15ac02ec 100644 --- a/doc/api/child_process.markdown +++ b/doc/api/child_process.markdown @@ -531,7 +531,7 @@ amount of data allowed on stdout or stderr - if this value is exceeded then the child process is killed. -## child_process.execFile(file, args, options, callback) +## child_process.execFile(file, [args], [options], [callback]) * `file` {String} The filename of the program to run * `args` {Array} List of string arguments -- cgit v1.2.1 From 198ed0bd0da9dee471bb8bfb7f6e97be506224ed Mon Sep 17 00:00:00 2001 From: Sam Roberts Date: Wed, 15 Jan 2014 17:13:32 -0800 Subject: doc: describe child_process.fork() silent option --- doc/api/child_process.markdown | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'doc/api/child_process.markdown') 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 -- cgit v1.2.1