-
Notifications
You must be signed in to change notification settings - Fork 9
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
Output is too much buffered #137
Labels
Milestone
Comments
Replying to ad-cea: Moreover, if stdout is closed when Shine tries to print something it triggers a broken pipe error. Commit SVN commit r428 fixes this. Original comment by: degremont |
Diff:
Original comment by: degremont |
Original comment by: degremont |
Original comment by: degremont |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Python bufferizes stdout a lot by default.
This could be an issue is stdout is not a tty (behaviour seems different in this case) like tee, tail, etc...
Buffering should be decreased or disabled.
This page gives a couple of useful information on this topic:
http://stackoverflow.com/questions/107705/python-output-buffering
Moreover, if stdout is closed when Shine tries to print something it triggers a broken pipe error.
Reported by: degremont
The text was updated successfully, but these errors were encountered: