Skip to content

Commit 1cf009f

Browse files
committed
doc: add entry for subprocess.killed property
1 parent 8bde8b0 commit 1cf009f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

doc/api/child_process.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -987,6 +987,17 @@ setTimeout(() => {
987987
}, 2000);
988988
```
989989

990+
### subprocess.killed
991+
<!-- YAML
992+
added: v0.5.10
993+
-->
994+
995+
* {boolean} Set to `true` after `subprocess.kill()` is used to successfully
996+
terminate the child process.
997+
998+
The `subprocess.killed` property indicates whether the child process was
999+
successfully terminated using `subprocess.kill()`.
1000+
9901001
### subprocess.pid
9911002
<!-- YAML
9921003
added: v0.1.90

0 commit comments

Comments
 (0)