diff --git a/doc/api/child_process.md b/doc/api/child_process.md index 2730f403771b83..8189b04b60819b 100644 --- a/doc/api/child_process.md +++ b/doc/api/child_process.md @@ -854,6 +854,17 @@ setTimeout(() => { }, 2000); ``` +### subprocess.killed + + +* {boolean} Set to `true` after `subprocess.kill()` is used to successfully + terminate the child process. + +The `subprocess.killed` property indicates whether the child process was +successfully terminated using `subprocess.kill()`. + ### subprocess.pid