github.imxd.top/hashicorp/consul@v1.4.5/agent/proxyprocess/process_windows.go (about) 1 // +build windows 2 3 package proxyprocess 4 5 import ( 6 "os" 7 "os/exec" 8 ) 9 10 func findProcess(pid int) (*os.Process, error) { 11 // On Windows, os.FindProcess will error if the process is not alive, 12 // so we don't have to do any further checking. The nature of it being 13 // non-nil means it seems to be healthy. 14 return os.FindProcess(pid) 15 } 16 17 func configureDaemon(cmd *exec.Cmd) { 18 // Do nothing 19 }