Skip to content

Commit 1abfbbb

Browse files
committed
doc: add entry for subprocess.killed property
PR-URL: #14578 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Refael Ackermann <[email protected]>
1 parent dd75005 commit 1abfbbb

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

doc/api/child_process.md

+11
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)