15 lines
179 B
Go
15 lines
179 B
Go
//go:build windows
|
|
|
|
package pipeline
|
|
|
|
import "os"
|
|
|
|
func processAlive(pid int) bool {
|
|
p, err := os.FindProcess(pid)
|
|
if err != nil {
|
|
return false
|
|
}
|
|
p.Release()
|
|
return true
|
|
}
|