Skip to content
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

fix: prevent hang waiting for stdin on overwrite prompt #36

Merged
merged 5 commits into from
Aug 28, 2024

Conversation

nathanbabcock
Copy link
Owner

@nathanbabcock nathanbabcock commented Aug 26, 2024

Intended fix is to append -n to any command which doesn't otherwise specify how to handle overwrites. It's backwards compatible as it only addresses the bugged case where the process is hung waiting for interactive input.

Fixes #35

TODO

  • Workaround
  • Add tests covering different overwrite scenarios
  • Fix CI

@nathanbabcock nathanbabcock marked this pull request as ready for review August 28, 2024 20:11
@nathanbabcock nathanbabcock merged commit e13eb3a into main Aug 28, 2024
3 checks passed
@nathanbabcock nathanbabcock deleted the fix/overwrite branch December 5, 2024 18:59
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.

Prompt to overwrite file hangs infinitely waiting for stdin
1 participant