We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Child::kill
1 parent 042433c commit e076d21Copy full SHA for e076d21
tokio/src/process/mod.rs
@@ -1164,7 +1164,12 @@ impl Child {
1164
1165
/// Forces the child to exit.
1166
///
1167
- /// This is equivalent to sending a `SIGKILL` on unix platforms.
+ /// This is equivalent to sending a `SIGKILL` on unix platforms
1168
+ /// followed by [`wait`](Child::wait).
1169
+ ///
1170
+ /// Note: std version of [`Child::kill`](std::process::Child::kill) does not `wait`.
1171
+ /// For an equivalent of `Child::kill` in the standard library,
1172
+ /// use [`start_kill`](Child::start_kill).
1173
1174
/// # Examples
1175
0 commit comments