blob: 637b0cb071279fccb08294b36cd067647451c651 [file] [log] [blame]
package exec
import "context"
// NoInterruptContext returns a context.Context instance which launches
// subprocesses in a difference process group so that they are not killed when
// this process is killed.
//
// This function is a no-op on Windows.
func NoInterruptContext(ctx context.Context) context.Context {
return ctx
}