Rewrite exec handler

This commit is contained in:
Alex X
2025-02-23 20:56:48 +03:00
parent 7d41dc21c1
commit 6fb59949a2
7 changed files with 113 additions and 71 deletions

View File

@@ -0,0 +1,6 @@
package shell
import "syscall"
// will stop child if parent died (even with SIGKILL)
var procAttr = &syscall.SysProcAttr{Pdeathsig: syscall.SIGTERM}