Skip to content

Fix Linux SIGTTOU hang in terminal guard - #48

Merged
burakdede merged 1 commit into
mainfrom
fix/47-terminal-guard-sigttou
Jul 29, 2026
Merged

Fix Linux SIGTTOU hang in terminal guard#48
burakdede merged 1 commit into
mainfrom
fix/47-terminal-guard-sigttou

Conversation

@burakdede

Copy link
Copy Markdown
Owner

Summary

  • remove the global startup terminal restore for read-only commands
  • split TerminalGuard into non-restoring and restoring capture modes
  • keep restoring behavior for Gemini OAuth interactive child flows
  • add a Linux PTY regression for the timeout/background-process-group SIGTTOU case

Fixes #47.

Testing

  • cargo test -q
  • manual: timeout 5 ./target/debug/aisw status

@burakdede
burakdede merged commit be32800 into main Jul 29, 2026
5 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.

[bug] Linux: aisw hangs (SIGTTOU) when run in a background process group with a TTY on stdin

1 participant