-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows + TUI has tasks exit with code 3221225786 #9389
Comments
@techwithanirudh Can you list out the following:
If anyone could provide a repository that reproduces this behavior on their machine, I would be very thankful. |
@techwithanirudh Do the ANSI codes only appear along when there's a |
### Description I noticed in #9389 that the TUI wasn't exiting if `watch` exited from anything other than a `Ctrl-C` (including a direct SIGINT to the process). This PR ensures that we shut down the TUI and the persistent task handle regardless of how `watch.start()` exits. ### Testing Instructions - Start up a watch task `turbo_dev watch dev` - Find the pid file via `turbo_dev daemon status` - Kill the daemon `kill $(cat /path/to/pid/file)` Before <img width="1365" alt="Screenshot 2024-11-07 at 5 42 22 PM" src="https://github.com/user-attachments/assets/141831b4-8a82-485e-ac14-c0d72802cf81"> After <img width="1286" alt="Screenshot 2024-11-07 at 5 39 08 PM" src="https://github.com/user-attachments/assets/21acddb9-ae6a-4b78-b38d-1cbe0e0d3309">
@techwithanirudh If you could test out |
I think so, i'm gonna try testing the 2.2.4 Edit: Also happens with |
@chris-olszewski Yeah, it did a pretty good job of cleaning up the ANSI codes. |
Thank you for testing it out! I'll try to find what's producing that final ANSI escape sequence |
@chris-olszewski Is there any progress in resolving this issue, or perhaps some settings in Windows could help? However, in version 2.1.3, there was no such issue. |
Verify canary release
Link to code that reproduces this issue
Need reproduction
What package manager are you using / does the bug impact?
pnpm
What operating system are you using?
Windows
Which canary version will you have in your reproduction?
2.2.3
Describe the Bug
Dev tasks are exiting prematurely with exit code
3221225786
withturbo
2.2.1 and above when using the TUIExpected Behavior
Dev tasks should not exit prematurely when using TUI
To Reproduce
See #9304 (comment)
Additional context
#9304 (comment)
The text was updated successfully, but these errors were encountered: