Skip to content

Commit

Permalink
doc: add entry for subprocess.killed property
Browse files Browse the repository at this point in the history
Backport-PR-URL: #14632
Backport-Reviewed-By: Refael Ackermann <[email protected]>
Backport-Reviewed-By: Anna Henningsen <[email protected]>

PR-URL: #14578
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Refael Ackermann <[email protected]>
  • Loading branch information
Trott authored and addaleax committed Aug 7, 2017
1 parent 342f4cc commit 91b7843
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions doc/api/child_process.md
Original file line number Diff line number Diff line change
Expand Up @@ -991,6 +991,17 @@ setTimeout(() => {
}, 2000);
```

### subprocess.killed
<!-- YAML
added: v0.5.10
-->

* {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()`.

<a name="child_process_child_pid"></a>
### subprocess.pid
<!-- YAML
Expand Down

0 comments on commit 91b7843

Please sign in to comment.