doc: add entry for subprocess.killed property

Backport-PR-URL: https://github.com/nodejs/node/pull/14635
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 authored and Myles Borins committed 2017-10-25 04:22:55 -04:00
1 parent 0fa09dfd77
commit 1db33296cb
1 file changed
+11
+11
View File
@@ -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