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 <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 11, 2017
1 parent fd27dc7 commit 244983a
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 244983a

Please sign in to comment.