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: #14633
PR-URL: #14578
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
  • Loading branch information
Trott authored and MylesBorins committed Aug 12, 2017
1 parent 73c720d commit 5ba65f2
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 @@ -891,6 +891,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 5ba65f2

Please sign in to comment.