Merge pull request #50 from gostudy/master

Fix a bug about a defunct state kill process
This commit is contained in:
Caleb Bassi 2018-08-16 11:51:43 -07:00 committed by GitHub
commit 38e83a75e3
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()
}
/////////////////////////////////////////////////////////////////////////////////