diff --git a/doc/api/child_process.md b/doc/api/child_process.md index 7ef5c82387346b..3a5f64d622885a 100644 --- a/doc/api/child_process.md +++ b/doc/api/child_process.md @@ -1389,9 +1389,9 @@ connection to the child. ### `subprocess.signalCode` -* {integer} +* {string|null} -The `subprocess.signalCode` property indicates the signal number received by +The `subprocess.signalCode` property indicates the signal received by the child process if any, else `null`. ### `subprocess.spawnargs`