Browse Source

doc: add entry for subprocess.killed property

Backport-PR-URL: https://github.com/nodejs/node/pull/14633
PR-URL: https://github.com/nodejs/node/pull/14578
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
v6.x
Rich Trott 8 years ago
committed by Myles Borins
parent
commit
5ba65f2870
No known key found for this signature in database GPG Key ID: 933B01F40B5CA946
  1. 11
      doc/api/child_process.md

11
doc/api/child_process.md

@ -891,6 +891,17 @@ setTimeout(() => {
}, 2000); }, 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> <a name="child_process_child_pid"></a>
### subprocess.pid ### subprocess.pid
<!-- YAML <!-- YAML

Loading…
Cancel
Save