-
Notifications
You must be signed in to change notification settings - Fork 1
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
Piping in and out #8
Comments
Make sure to add integration tests. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
Currently, piping in and out does not work correctly:
cat <file> | peek s
) causes errors,peek s <file> | less
) can cause an error when the program stops working before writing the whole output (e.g., we quitless
before reaching the end of the file).Expected behavior
Both cases described above need to be fixed in the following way.
Redirecting from
stdin
The following cases should work:
Redirecting to an external program
Eliminate
BrokenPipeError
whenever the following (or similar) command is interrupted before the end of the file is reached.The text was updated successfully, but these errors were encountered: