doxa-maps/backend/rudder-engine/procattr_linux.go
Doxa Maps 501e2699ce
Some checks are pending
Deploy to GitHub Pages / build (push) Waiting to run
Deploy to GitHub Pages / deploy (push) Blocked by required conditions
Update from source acf67c59b
2026-09-28 02:59:32 +00:00

12 lines
396 B
Go

//go:build linux
package main
import "syscall"
// childAttr: a child process (the speech server, a recorder) is killed with the engine, so a crash
// never leaves a speech server holding a gigabyte of memory. Linux only: Pdeathsig does not exist on
// macOS or Windows (see procattr_other.go).
func childAttr() *syscall.SysProcAttr {
return &syscall.SysProcAttr{Pdeathsig: syscall.SIGKILL}
}