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: #14635
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 MylesBorins committed Oct 25, 2017
1 parent 0fa09df commit 1db3329
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 @@ -854,6 +854,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 1db3329

Please sign in to comment.