Fix zombie sub processes.
For https://github.com/oxequa/realize/issues/192
This commit is contained in:
parent
29c29e429a
commit
cc4cb7eb64
@ -573,6 +573,7 @@ func (p *Project) run(path string, stream chan Response, stop <-chan bool) (err
|
|||||||
// https://github.com/golang/go/issues/6720
|
// https://github.com/golang/go/issues/6720
|
||||||
if build != nil {
|
if build != nil {
|
||||||
build.Process.Signal(os.Interrupt)
|
build.Process.Signal(os.Interrupt)
|
||||||
|
build.Process.Wait()
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user