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

ask_to_run should read/write /dev/tty, not stdin/stdout #420

Open
zackw opened this issue Feb 17, 2025 · 0 comments
Open

ask_to_run should read/write /dev/tty, not stdin/stdout #420

zackw opened this issue Feb 17, 2025 · 0 comments

Comments

@zackw
Copy link

zackw commented Feb 17, 2025

ask_to_run is asking the user a question, therefore it should read and writing from /dev/tty rather than stdin/stdout, which may be redirected.

If opening /dev/tty fails, that should trigger --noninteractive mode (see #419).

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

No branches or pull requests

1 participant