diff --git a/src/command.rs b/src/command.rs index 7ff9858..27886eb 100644 --- a/src/command.rs +++ b/src/command.rs @@ -84,6 +84,12 @@ impl Command { self } + /// See [`tokio::process::Command::kill_on_drop`] + pub fn kill_on_drop(&mut self, kill_on_drop: bool) -> &mut Self { + self.inner.kill_on_drop(kill_on_drop); + self + } + /// See [`tokio::process::Command::stdin`] pub fn stdin>( &mut self,