github.com/mutagen-io/mutagen@v0.18.0-rc1/cmd/mutagen/daemon/start_posix.go (about)

     1  //go:build !windows && !plan9
     2  
     3  // TODO: Figure out what to do for Plan 9. It doesn't support Setsid.
     4  
     5  package daemon
     6  
     7  import (
     8  	"syscall"
     9  )
    10  
    11  // daemonProcessAttributes are the process attributes to use for the daemon.
    12  var daemonProcessAttributes = &syscall.SysProcAttr{
    13  	Setsid: true,
    14  }