Skip to content

Commit 5ba65f2

Browse files
TrottMylesBorins
authored andcommitted
doc: add entry for subprocess.killed property
Backport-PR-URL: #14633 PR-URL: #14578 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Refael Ackermann <[email protected]>
1 parent 73c720d commit 5ba65f2

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
@@ -891,6 +891,17 @@ setTimeout(() => {
891891
}, 2000);
892892
```
893893

894+
### subprocess.killed
895+
<!-- YAML
896+
added: v0.5.10
897+
-->
898+
899+
* {boolean} Set to `true` after `subprocess.kill()` is used to successfully
900+
terminate the child process.
901+
902+
The `subprocess.killed` property indicates whether the child process was
903+
successfully terminated using `subprocess.kill()`.
904+
894905
<a name="child_process_child_pid"></a>
895906
### subprocess.pid
896907
<!-- YAML

0 commit comments

Comments
 (0)