Skip to content

Commit

Permalink
Add kill_on_drop support
Browse files Browse the repository at this point in the history
Fix doy#10
  • Loading branch information
samuela committed Jan 25, 2024
1 parent 74c223d commit 968c2dc
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 968c2dc

Please sign in to comment.