github.com/fabiokung/docker@v0.11.2-0.20170222101415-4534dcd49497/pkg/system/process_windows.go (about) 1 package system 2 3 // IsProcessAlive returns true if process with a given pid is running. 4 func IsProcessAlive(pid int) bool { 5 // TODO Windows containerd. Not sure this is needed 6 // p, err := os.FindProcess(pid) 7 // if err == nil { 8 // return true 9 // } 10 return false 11 } 12 13 // KillProcess force-stops a process. 14 func KillProcess(pid int) { 15 // TODO Windows containerd. Not sure this is needed 16 // p, err := os.FindProcess(pid) 17 // if err == nil { 18 // p.Kill() 19 // } 20 }