diff options
Diffstat (limited to 'src/runner/command.rs')
-rw-r--r-- | src/runner/command.rs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/runner/command.rs b/src/runner/command.rs index c7224e6..efbf166 100644 --- a/src/runner/command.rs +++ b/src/runner/command.rs @@ -150,12 +150,12 @@ pub enum Inner { Builtin(super::builtins::Command), } -pub enum Child<'a> { +pub enum Child { Binary(tokio::process::Child), - Builtin(super::builtins::Child<'a>), + Builtin(super::builtins::Child), } -impl<'a> Child<'a> { +impl Child { pub fn id(&self) -> Option<u32> { match self { Self::Binary(child) => child.id(), @@ -170,8 +170,7 @@ impl<'a> Child<'a> { dyn std::future::Future< Output = anyhow::Result<std::process::ExitStatus>, > + Send - + Sync - + 'a, + + Sync, >, > { Box::pin(async move { |