Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upprintln does not panic when stdout is broken #57931
Comments
This comment has been minimized.
This comment has been minimized.
NickeZ
commented
Jan 27, 2019
|
But on closed pipe it seems to error as it should. The code in the below example is simply the hello world in an infinite loop.
|
jonas-schievink
added
the
T-libs
label
Jan 27, 2019
This comment has been minimized.
This comment has been minimized.
NickeZ
commented
Jan 27, 2019
|
It seems to be on purpose: rust-lang/rfcs#1014 |
NickeZ
closed this
Jan 27, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NickeZ commentedJan 27, 2019
•
edited
Using the regular hello world example but giving it either a closed stdout fd or a read-only stdout fd it doesn't panic. Is this expected behavior?