16 lines
368 B
Go
16 lines
368 B
Go
//go:build !unix
|
|
|
|
package ingest
|
|
|
|
import (
|
|
"os"
|
|
"os/exec"
|
|
)
|
|
|
|
// The deploy target is a Linux VM; these keep the module building elsewhere without pretending the
|
|
// process-group guarantee exists there.
|
|
func setProcessGroup(*exec.Cmd) {}
|
|
|
|
func interruptGroup(p *os.Process) error { return p.Signal(os.Interrupt) }
|
|
|
|
func stillRunning(*os.Process) bool { return true }
|