Merge pull request #1 from gostudy/phpor-kill-process

Fix a bug about a defunct state kill process
This commit is contained in:
李俊杰 2018-08-16 09:53:32 +08:00 committed by GitHub
commit 9689105025
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -249,6 +249,7 @@ func (self *Proc) Kill() {
}
cmd := exec.Command(command, self.Rows[self.SelectedRow][self.UniqueCol])
cmd.Start()
cmd.Wait()
}
/////////////////////////////////////////////////////////////////////////////////