diff options
Diffstat (limited to 'src/command.rs')
-rw-r--r-- | src/command.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.rs b/src/command.rs index e11df57..d02df2d 100644 --- a/src/command.rs +++ b/src/command.rs @@ -30,7 +30,7 @@ impl Command for std::process::Command { }); } - let child = self.spawn()?; + let child = self.spawn().map_err(Error::Spawn)?; Ok(Child { child, pty }) } |