-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
piping output to less and quitting leads to missing exception handler #11876
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
Comments
Actually, the same bug is slightly less verbose, but also happens in 0.3.9. |
(Maybe it's less verbose because the backtraces are truncated...?) |
The first error is ok; you need to catch the exception caused by EPIPE if you want to silence it. The second error was the real problem. |
Maybe we should get an actual roadmap for IO improvements :
|
JeffBezanson
added a commit
that referenced
this issue
Jun 29, 2015
KristofferC
pushed a commit
to KristofferC/julia
that referenced
this issue
Jun 30, 2015
don't print an extra newline to stdout when exiting with an error when we quit on EPIPE this caused us to throw another error
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I find that if I run a simple command in Julia, pipe the output to less, and quit less before Julia finishes, I get the following
I assume that what ever signal is being thrown by the pipe closing (SIGPIPE?) isn't being handled properly.
This is on a fresh clone:
The text was updated successfully, but these errors were encountered: