Merge pull request #193 from alaingilbert/fix_zombie_subprocesses

Fix zombie sub processes.
This commit is contained in:
Alessio Pracchia 2018-06-29 00:41:00 +02:00 committed by GitHub
commit 05f079e472
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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()
}
}()