Merge branch 'windows_build' of git.openprivacy.ca:cwtch.im/ui into windows_build
the build was successful
Details
the build was successful
Details
This commit is contained in:
commit
1c880c2a17
|
@ -13,7 +13,7 @@ import (
|
|||
// On windows this uses tasklist...
|
||||
func CheckProcessAndKill(pid uint64, processName string) {
|
||||
log.Debugf("killing: %v", pid)
|
||||
bytes,err := exec.Command("tasklist", "/fi", "pid eq "+strconv.Itoa(int(pid))).Output()
|
||||
bytes,err := exec.Command("tasklist", "/fi", "\"pid eq "+strconv.Itoa(int(pid))+"\"").Output()
|
||||
if err == nil {
|
||||
// Output will be something like this:
|
||||
//
|
||||
|
@ -43,4 +43,4 @@ func Kill(pid uint64) {
|
|||
log.Debugf("could not kill pid: %v %v", pid, err)
|
||||
}
|
||||
return
|
||||
}
|
||||
}
|
Reference in New Issue