diff --git a/runner/engine.go b/runner/engine.go index f67d027a..73aa9f5b 100644 --- a/runner/engine.go +++ b/runner/engine.go @@ -540,13 +540,6 @@ func (e *Engine) runBin() error { go killFunc(cmd, killCh, processExit) }) - go func() { - _, _ = cmd.Process.Wait() - }() - - go func() { - _, _ = cmd.Process.Wait() - }() state, _ := cmd.Process.Wait() close(processExit) switch state.ExitCode() {