mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
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:
1 parent
0fa09dfd77
commit
1db33296cb
1 file changed
+11
@@ -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
|
||||
|
||||
Reference in new issue
Block a user