From 0ab14051866000de929f4f6a5b4053e6ea3a65bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Saparelli?= Date: Thu, 22 Jul 2021 01:36:19 +1200 Subject: [PATCH] Ignore errors when killing command on pre-spawn --- lib/src/run.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/run.rs b/lib/src/run.rs index 32b2c3f4..253b89c1 100644 --- a/lib/src/run.rs +++ b/lib/src/run.rs @@ -257,7 +257,7 @@ impl ExecHandler { } let mut child = self.child_process.lock()?; - child.kill()?; + child.kill().ok(); let mut command = self.args.shell.to_command(&self.args.cmd); debug!("Assembled command: {:?}", command);