-
Notifications
You must be signed in to change notification settings - Fork 88
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
interactive shell not blocking on shell input #64
Comments
@yegor256 please, pay attention to this issue |
@lubars I guess you just need this flag for |
Hi @yegor256. In this case there is a way around it, but I'm seeing this behavior with other interactive applications, and was hoping to come up with a more general solution. Thanks for the reply - |
@yegor256 any plans to work on this? I run into problems as well with a rather verbose command which prompts for an input and I couldn't find a way to send the needed input at the right moment. Any example how to read the output until the prompt appears and respond with e.g. 'Y' would be very welcome. |
When I open an interactive session like this, some interactive prompts acts as if they've encountered EOF:
Example: "yum install httpd"
If I run with just "bash" (not "bash -i"), the shell blocks on input correctly, but the prompt doesn't appear until after the input is provided (and there's no shell prompt either):
I tried wrapping the command in /usr/bin/script to create a valid tty, prepending TERM=xterm, and the piped input/output scheme in this issue, but the result was the same. Any help would be appreciated.
The text was updated successfully, but these errors were encountered: