doc: fix callback argument of child_process.exec, execFile

Fixes #3196.
pull/24503/head
ANDO Takahiro 2012-05-01 11:41:29 +09:00 committed by koichik
parent df2c5fa81d
commit ebd0f98e2b
1 changed files with 2 additions and 2 deletions

View File

@ -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