diff options
author | 李俊杰 <phpor@users.noreply.github.com> | 2018-08-16 09:53:32 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-16 09:53:32 +0800 |
commit | 968910502553dce7f011ca843349807a5f132f58 (patch) | |
tree | bcf9e406e0c9983fb126c9dfb7facc246b34ef19 | |
parent | 7fe426d1142df8b5a6281010955fa3e878158d3a (diff) | |
parent | 72c8c43b073d8fef4b6fce69003731ed7572447f (diff) |
Merge pull request #1 from gostudy/phpor-kill-process
Fix a bug about a defunct state kill process
-rw-r--r-- | src/widgets/proc.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widgets/proc.go b/src/widgets/proc.go index 566f01a..29db641 100644 --- a/src/widgets/proc.go +++ b/src/widgets/proc.go @@ -249,6 +249,7 @@ func (self *Proc) Kill() { } cmd := exec.Command(command, self.Rows[self.SelectedRow][self.UniqueCol]) cmd.Start() + cmd.Wait() } ///////////////////////////////////////////////////////////////////////////////// |