gunk-dev/the-valley

procattr_other.go

source937924e2f63emain's published tip history
393 bytes
1//go:build !linux
2
3package main
4
5import "syscall"
6
7// dieWithParent asks nothing of a child process where the system cannot
8// kill it when its parent dies. There, a telemetry request's ssh that a
9// command leaves behind ends when the host ends the request, or when its
10// keepalive gives up on a dead connection (docs/reference.md).
11func dieWithParent() *syscall.SysProcAttr {
12 return nil
13}