blob: 9090cc98bbbaef0b81537447f95e9a9e7e70f55b [file] [log] [blame]
// Copyright 2017 The Upspin Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build !windows,!plan9
package cacheutil
import (
"os/exec"
"syscall"
)
func init() {
detach = func(cmd *exec.Cmd) {
cmd.SysProcAttr = &syscall.SysProcAttr{
Setpgid: true,
}
}
}