diff --git a/doc/api/child_process.md b/doc/api/child_process.md index 0681b6bc47c2f3..c94fec321eee86 100644 --- a/doc/api/child_process.md +++ b/doc/api/child_process.md @@ -860,8 +860,10 @@ changes: * `output` {Array} Array of results from stdio output. * `stdout` {Buffer|string} The contents of `output[1]`. * `stderr` {Buffer|string} The contents of `output[2]`. - * `status` {number} The exit code of the child process. - * `signal` {string} The signal used to kill the child process. + * `status` {number|null} The exit code of the subprocess, or `null` if the + subprocess terminated due to a signal. + * `signal` {string|null} The signal used to kill the subprocess, or `null` if + the subprocess did not terminate due to a signal. * `error` {Error} The error object if the child process failed or timed out. The `child_process.spawnSync()` method is generally identical to