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>
This commit is contained in:
Rich Trott 2017-08-03 11:13:43 -07:00
parent dd75005a9e
commit 1abfbbb1c4

View File

@ -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