Skip to content

Interactive build: give the terminal back after the debug shell exits - #7

Merged
casparvl merged 1 commit into
improve_interactive_debuggingfrom
interactive_debugging_no_defaults
Oct 15, 2026
Merged

casparvl merged 1 commit into
improve_interactive_debuggingfrom
interactive_debugging_no_defaults

Conversation

@casparvl

Copy link
Copy Markdown
Owner

The debug shell has job control, so it makes its own process group the terminal's foreground group. That group was left behind as the foreground group after the shell exited, so Ctrl+C no longer reached the build (observed: TPGID pointing at an empty process group). Explicitly set our own process group as the foreground group again.

The debug shell has job control, so it makes its own process group the terminal's
foreground group. That group was left behind as the foreground group after the shell
exited, so Ctrl+C no longer reached the build (observed: TPGID pointing at an empty
process group). Explicitly set our own process group as the foreground group again.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@casparvl
casparvl merged commit 92ebf3f into improve_interactive_debugging Oct 15, 2026
109 of 111 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