summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/api/child_process.markdown4
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