mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-10-01 12:20:39 +00:00
process: clarify Child::kill
behavior (#7162)
This commit is contained in:
parent
042433cdcc
commit
e076d21f67
@ -1164,7 +1164,12 @@ impl Child {
|
||||
|
||||
/// Forces the child to exit.
|
||||
///
|
||||
/// This is equivalent to sending a `SIGKILL` on unix platforms.
|
||||
/// This is equivalent to sending a `SIGKILL` on unix platforms
|
||||
/// followed by [`wait`](Child::wait).
|
||||
///
|
||||
/// Note: std version of [`Child::kill`](std::process::Child::kill) does not `wait`.
|
||||
/// For an equivalent of `Child::kill` in the standard library,
|
||||
/// use [`start_kill`](Child::start_kill).
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
Loading…
x
Reference in New Issue
Block a user