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 for #22443: prevent stty from being called when not running in a terminal #22444

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

philwalk
Copy link
Contributor

Test whether running in a terminal, and only call stty if appropriate.

This avoids seeing stty error messages when piping text to a scala script STDIN.

See #22443

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