-
Notifications
You must be signed in to change notification settings - Fork 43
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
Input prompt triggered in non-interactive session #12
Comments
Indeed it is different. The problem does indeed occur in CI that if you forget to set the environment variable it will just make CI hang til it times out. I guess what is the worst that can happen if in noninteractive mode it decides to read stdin? |
Ok, I can understand that preference. My main intention here was to see how strong you feel about this. I'll play with it some more and see if I either get used to it or find a way to work around it |
I wonder what the best way to tell the program that reading from STDIN is not acceptable? |
Would it be possible to automatically detect CI ( |
I was considering this. Can you open a fresh issue for it? ( just copy paste is fine) |
This is different than how I used to implement it. I can see an argument for allowing, say, a script to trigger the input prompt. That said, I think it complicates things in some automated environment.
What do you think about throwing an error in case the "always accept" option is not set and the session is not interactive?
The text was updated successfully, but these errors were encountered: