Browse Source

doc: add entry for subprocess.killed property

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
Rich Trott 7 years ago
parent
commit
1abfbbb1c4
  1. 11
      doc/api/child_process.md

11
doc/api/child_process.md

@ -987,6 +987,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()`.
### subprocess.pid
<!-- YAML
added: v0.1.90

Loading…
Cancel
Save