nano-run/server/internal/flags.go

21 lines
262 B
Go
Raw Normal View History

// +build !linux
package internal
import (
"os"
"os/exec"
)
func SetBinFlags(cmd *exec.Cmd) {
}
func IntSignal(cmd *exec.Cmd) error {
return cmd.Process.Signal(os.Interrupt)
}
func KillSignal(cmd *exec.Cmd) error {
return cmd.Process.Signal(os.Kill)
}