publish_windows.go 118 B

12345678910
  1. package cmd
  2. import (
  3. "os"
  4. )
  5. func processExists(pid int) bool {
  6. _, err := os.FindProcess(pid)
  7. return err == nil
  8. }