Skip to content

Commit f1e0ea2

Browse files
cjihrigMylesBorins
authored andcommitted
doc: update subprocess.killed
This commit changes the wording of subprocess.killed to reflect that a child process was successfully signaled, and not necessarily terminated. Fixes: #16747 PR-URL: #16748 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent c49961a commit f1e0ea2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

doc/api/child_process.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -904,10 +904,11 @@ added: v0.5.10
904904
-->
905905

906906
* {boolean} Set to `true` after `subprocess.kill()` is used to successfully
907-
terminate the child process.
907+
send a signal to the child process.
908908

909-
The `subprocess.killed` property indicates whether the child process was
910-
successfully terminated using `subprocess.kill()`.
909+
The `subprocess.killed` property indicates whether the child process
910+
successfully received a signal from `subprocess.kill()`. The `killed` property
911+
does not indicate that the child process has been terminated.
911912

912913
<a name="child_process_child_pid"></a>
913914
### subprocess.pid

0 commit comments

Comments
 (0)