Skip to content

Commit

Permalink
Merge pull request #11 from samuela/samuela/kill_on_drop
Browse files Browse the repository at this point in the history
Add `kill_on_drop` support
  • Loading branch information
doy authored Jan 28, 2025
2 parents 000ca4c + 968c2dc commit b264a25
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<T: Into<std::process::Stdio>>(
&mut self,
Expand Down

0 comments on commit b264a25

Please sign in to comment.