//go:build !windows package main import "syscall" // detachAttr puts the worker in its own session, so a signal to the main's // process group never reaches it. func detachAttr() *syscall.SysProcAttr { return &syscall.SysProcAttr{Setsid: true} }