Merge pull request #193 from alaingilbert/fix_zombie_subprocesses
Fix zombie sub processes.
This commit is contained in:
commit
05f079e472
|
@ -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