diff --git a/doc/api/child_process.md b/doc/api/child_process.md index f2430c3d761d2f..25ee478ad104d2 100644 --- a/doc/api/child_process.md +++ b/doc/api/child_process.md @@ -891,6 +891,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