From ebd0f98e2bde2b8d345d1a0eedfd621f70cf00fa Mon Sep 17 00:00:00 2001 From: ANDO Takahiro Date: Tue, 1 May 2012 11:41:29 +0900 Subject: [PATCH] doc: fix callback argument of child_process.exec, execFile Fixes #3196. --- doc/api/child_process.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/child_process.markdown b/doc/api/child_process.markdown index 0c8c433..3ddf329 100644 --- a/doc/api/child_process.markdown +++ b/doc/api/child_process.markdown @@ -234,7 +234,7 @@ See also: `child_process.exec()` and `child_process.fork()` * `maxBuffer` {Number} (Default: 200*1024) * `killSignal` {String} (Default: 'SIGTERM') * `callback` {Function} called with the output when process terminates - * `code` {Integer} Exit code + * `error` {Error} * `stdout` {Buffer} * `stderr` {Buffer} * Return: ChildProcess object @@ -291,7 +291,7 @@ the child process is killed. * `maxBuffer` {Number} (Default: 200*1024) * `killSignal` {String} (Default: 'SIGTERM') * `callback` {Function} called with the output when process terminates - * `code` {Integer} Exit code + * `error` {Error} * `stdout` {Buffer} * `stderr` {Buffer} * Return: ChildProcess object -- 2.7.4