hashgraph / hashgraph/solo-weaver
Story: Implement detached child process spawn using Go os/exec with Setsid+Setpgid+Release
Open
- Dominant language
- Go
- Stars
- 3
- Forks
- 0
- Avg merge
- 3d 5h
- Merged PRs (30d)
- 47
Description
Part of epic #500 — Self-Upgrade Protocol.
Implement detached child process spawn using Go `os/exec` + `syscall.SysProcAttr{Setsid: true, Setpgid: true}` + `cmd.Process.Release()`. This detaches the child from the old daemon's process group so it survives the old daemon's exit.
Contributor guide
Assessment
This issue has not been assessed yet.