diff options
author | Benjamin Waters <ben25890@gmail.com> | 2014-02-03 20:56:21 -0500 |
---|---|---|
committer | Fedor Indutny <fedor.indutny@gmail.com> | 2014-02-04 12:50:24 +0400 |
commit | d2147c55c25410e1666ee75360d918f973e25842 (patch) | |
tree | fd273d90aab8a8bc9d67fecac06af6bb7d20091a | |
parent | 09c51d5e40aa0f9084fdee5b73a18cb8e864985c (diff) | |
download | node-d2147c55c25410e1666ee75360d918f973e25842.tar.gz |
doc: fix references to error keyword
References for err.signal and err.code should be error.signal and
error.code.
Fixes joyent/node#6862
-rw-r--r-- | doc/api/child_process.markdown | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/child_process.markdown b/doc/api/child_process.markdown index 9c7125c62..ebc9cdc4c 100644 --- a/doc/api/child_process.markdown +++ b/doc/api/child_process.markdown @@ -510,8 +510,8 @@ Runs a command in a shell and buffers the output. }); The callback gets the arguments `(error, stdout, stderr)`. On success, `error` -will be `null`. On error, `error` will be an instance of `Error` and `err.code` -will be the exit code of the child process, and `err.signal` will be set to the +will be `null`. On error, `error` will be an instance of `Error` and `error.code` +will be the exit code of the child process, and `error.signal` will be set to the signal that terminated the process. There is a second optional argument to specify several options. The |