-
Notifications
You must be signed in to change notification settings - Fork 841
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
stack repl exits on ctrl+c with error <stdin>: hGetChar: hardware fault (Input/output error) #3821
Comments
I also see this on |
Good catch! I've noticed this too, but didn't realize that To make it happen, it needed to leave around the generated files. This has the nice consequence that if you do |
PR #3869 has been merged into master, so this should now be resolved. |
General summary/comments (optional)
stack repl
terminates when I repeatedly pressctrl+c
. Two times is enough. Termination is observed on each of 5 consecutive runs. If there is other activity between thectrl+c
presses, still terminates on the secondctrl+c
.In the same situation,
stack exec ghci
does not terminate.There is an error log in the gist.
This issue elsewhere may be related, as the error is the same.
Steps to reproduce
Expected
A new clear prompt is offered, the same as with
stack exec ghci
.Actual
stack repl
terminates, an error is printed tostderr
.Stack version
Method of installation
ArchLinux AUR haskell-stack-git
The text was updated successfully, but these errors were encountered: