From d2147c55c25410e1666ee75360d918f973e25842 Mon Sep 17 00:00:00 2001 From: Benjamin Waters Date: Mon, 3 Feb 2014 20:56:21 -0500 Subject: [PATCH] doc: fix references to error keyword References for err.signal and err.code should be error.signal and error.code. Fixes joyent/node#6862 --- 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 9c7125c62a4..ebc9cdc4cc9 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