Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 244983a

Browse files
TrottMylesBorins
authored andcommittedAug 11, 2017
doc: add entry for subprocess.killed property
Backport-PR-URL: #14635 PR-URL: #14578 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Refael Ackermann <[email protected]>
1 parent fd27dc7 commit 244983a

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
@@ -854,6 +854,17 @@ setTimeout(() => {
854854
}, 2000);
855855
```
856856

857+
### subprocess.killed
858+
<!-- YAML
859+
added: v0.5.10
860+
-->
861+
862+
* {boolean} Set to `true` after `subprocess.kill()` is used to successfully
863+
terminate the child process.
864+
865+
The `subprocess.killed` property indicates whether the child process was
866+
successfully terminated using `subprocess.kill()`.
867+
857868
<a name="child_process_child_pid"></a>
858869
### subprocess.pid
859870
<!-- YAML

0 commit comments

Comments
 (0)
Please sign in to comment.