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:
|
||||
//
|
||||
|
|
Reference in New Issue