--You received this message because you are subscribed to the Google Groups "golang-nuts" group.To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.For more options, visit https://groups.google.com/d/optout.
Linux has a flag you can set when calling a process that will cause it to kill its children when it is killed:cmd := exec.Command( some command )cmd.SysProcAttr = &syscall.SysProcAttr{Pdeathsig: syscall.SIGKILL}cmd.Start()This is a Linux only setting. My understanding is that it is generally better that you create a new process group and killing that.