Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

stty: 'standard input': unable to perform all requested operations #369

Open
ahmadassaf opened this issue Aug 27, 2018 · 0 comments
Open

Comments

@ahmadassaf
Copy link

ahmadassaf commented Aug 27, 2018

Hello,

I am trying to use the script inside of another shell script that I have .. mainly I am doing the following:

read -p "⚙️  Configuring ghi ... What is your github username ? " GITHUB_USERNAME </dev/tty && ghi config --auth ${GITHUB_USERNAME}

I am prompted then in the shell:

⚙️  Configuring ghi ... What is your github username ? ahmadassaf
Enter ahmadassaf's GitHub password (never stored): stty: 'standard input': unable to perform all requested operations

I have seen a bunch of issues around this related to [stty](https://github.com/shurizzle/ruby-stty):

ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_64-darwin17]
GNU bash, version 4.4.23(1)-release (x86_64-apple-darwin17.5.0)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant