From cc4cb7eb64cc4e2ac19d619e84e84f041366bef4 Mon Sep 17 00:00:00 2001 From: Alain Gilbert Date: Thu, 28 Jun 2018 13:42:08 -0700 Subject: [PATCH] Fix zombie sub processes. For https://github.com/oxequa/realize/issues/192 --- realize/projects.go | 1 + 1 file changed, 1 insertion(+) diff --git a/realize/projects.go b/realize/projects.go index c218e95..41c3040 100644 --- a/realize/projects.go +++ b/realize/projects.go @@ -573,6 +573,7 @@ func (p *Project) run(path string, stream chan Response, stop <-chan bool) (err // https://github.com/golang/go/issues/6720 if build != nil { build.Process.Signal(os.Interrupt) + build.Process.Wait() } }()