panel_other.go 356 B

1234567891011121314
  1. //go:build !linux
  2. package panel
  3. import "os/exec"
  4. func setDetachedProcess(cmd *exec.Cmd) {}
  5. // processAlive is never meaningfully consulted outside Linux: startUpdate
  6. // itself is gated to runtime.GOOS == "linux" before any process is ever
  7. // launched, so no real PID is ever recorded on this platform.
  8. func processAlive(pid int) bool {
  9. return false
  10. }