-
Notifications
You must be signed in to change notification settings - Fork 8
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
Test suite failure #12
Comments
Eh, actually that was me being lazy and dumb :) I wrote this as a quick error to check another issue, and added it as test to easily run it, but never actually used it as "cabal test" sorta thing, and being a quick check I didn't bother handling input termination gracefully. So I should fix this sometime soon, but doesn't say anything about the library not working. |
The test program does not exit gracefully. See merijn/posix-pty#12
I'm hitting |
I also get the error The error happens in the call to I don't think that Btw, when looking through the code I noticed something in this line: Line 162 in d0edca8
The |
I think the solution should just be to catch the associated try (Pty.readPty pty) >>= \case
Left (e :: IOError) -> pure (Left e)
Right bs -> pure (Right bs) |
Thank you for this library!
The test suite does not pass. Is this a known issue, or is there a bug?
The text was updated successfully, but these errors were encountered: