Skip to content

Conversation

@dcantah
Copy link
Contributor

@dcantah dcantah commented Aug 12, 2025

We were defer closing the IO for run/exec/start fairly late in the container run cycle which had the downside of that if the container run failed your tty would be stuck in raw mode. This change just moves the closing (return tty to origin state) to directly after we create the IO.

@dcantah dcantah changed the title CLI: Defer close IO immediately CLI: Defer tty reset immediately Aug 12, 2025
We were defer closing the IO for run/exec/start
fairly late in the container run cycle which had the
downside of that if the container run failed your tty
would be stuck in raw mode. This change just moves the
closing (return tty to origin state) to directly after
we create the IO.
@dcantah dcantah force-pushed the defer-io-close-immediately branch from 637bb9a to 99f41ef Compare August 13, 2025 18:40
@dcantah dcantah merged commit 66426ac into apple:main Aug 13, 2025
2 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.

2 participants