Skip to content

Fix Unix process group termination - #18

Merged
cocoa-xu merged 2 commits into
mainfrom
cx/terminate-process-tree
May 25, 2026
Merged

Fix Unix process group termination#18
cocoa-xu merged 2 commits into
mainfrom
cx/terminate-process-tree

Conversation

@cocoa-xu

Copy link
Copy Markdown
Owner

Summary

  • Send Unix signals to the spawned process group so child processes are terminated with the PTY leader.
  • Tighten PTY spawn cleanup and fd ownership around error paths.
  • Add a Unix regression test covering child process termination.

Tests

  • mix test

@cocoa-xu
cocoa-xu merged commit 7fb558e into main May 25, 2026
3 checks passed
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.

1 participant