Closed u05rav closed 5 years ago
@u05rav Hey ! Thanks for reporting this. Would you be open to working on a fix for this ?
@u05rav Given that this issue has been inactive for a while, I'm going to close it. If someone is able to work on a fix for this, feel free to comment and we'll open it up again.
I have an issue where I want to have a bash script that reads multiple lines from stdin and one of those lines should be consumed as a password in my rust code but the subsequent lines are read by the script. The problem is that read_password is swallowing all the lines. Here is an example
I'm calling it from a bash script like this
and finally I call the bash script like this
I expect to see both first and second echoed back to me but what I actually see is
The rust code is swallowing the second line and it's not available to be read by my script.