diff options
Diffstat (limited to 'src/pipeline/command.rs')
-rw-r--r-- | src/pipeline/command.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pipeline/command.rs b/src/pipeline/command.rs index a5b5f79..a6b363a 100644 --- a/src/pipeline/command.rs +++ b/src/pipeline/command.rs @@ -1,4 +1,4 @@ -use async_std::os::unix::process::CommandExt as _; +use crate::pipeline::prelude::*; pub struct Command { inner: Inner, @@ -90,7 +90,7 @@ impl Command { } } - pub fn spawn(self, env: &crate::Env) -> anyhow::Result<Child> { + pub fn spawn(self, env: &Env) -> anyhow::Result<Child> { match self.inner { Inner::Binary(mut cmd) => { Ok(Child::Binary(cmd.spawn().map_err(|e| { |