hashgraph / hashgraph/solo-weaver

Story: Implement detached child process spawn using Go os/exec with Setsid+Setpgid+Release

Open
#525 0 comments 0 reactions 1 assignee Claimed by @leninmehedy View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.