mirror of
https://github.com/tailscale/tailscale.git
synced 2026-09-15 23:42:48 -04:00
19 lines
368 B
Go
19 lines
368 B
Go
// Copyright (c) Tailscale Inc & contributors
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
//go:build !windows
|
|
|
|
package integration
|
|
|
|
import (
|
|
"os"
|
|
"os/exec"
|
|
)
|
|
|
|
// setNewProcessGroup is a no-op; only Windows needs its own process group.
|
|
func setNewProcessGroup(cmd *exec.Cmd) {}
|
|
|
|
func interruptProcess(process *os.Process) error {
|
|
return process.Signal(os.Interrupt)
|
|
}
|