Skip to content

[release/0.25] Add detached fork process command#203

Merged
danegsta merged 3 commits into
release/0.25from
backport/pr-197-to-release/0.25
Jul 1, 2026
Merged

[release/0.25] Add detached fork process command#203
danegsta merged 3 commits into
release/0.25from
backport/pr-197-to-release/0.25

Conversation

@danegsta

@danegsta danegsta commented Jul 1, 2026

Copy link
Copy Markdown
Member

Backport of #197 to release/0.25

/cc @danegsta

Customer Impact

Testing

Risk

Regression?

danegsta and others added 3 commits July 1, 2026 20:02
Introduce a fork-process subcommand that starts a detached child process and prints its PID. Reuse the platform-specific ForkFromParent behavior and use setsid on Unix for session isolation.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Use golang.org/x/sys/unix for process group and session checks so the test compiles on Linux as well as Darwin.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Adapt the fork-process tests to the ProcessHandle API introduced on main.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@danegsta danegsta requested a review from karolz-ms July 1, 2026 20:08
@danegsta danegsta enabled auto-merge (squash) July 1, 2026 20:18
@danegsta danegsta merged commit aa82919 into release/0.25 Jul 1, 2026
11 checks passed
@danegsta danegsta deleted the backport/pr-197-to-release/0.25 branch July 1, 2026 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants