-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
fix definition of open I/O to Process #39544
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Semantics change is fine to me. Before we had this return Process this would close whichever stream the user requested rather than .in
(which would correspond to whether you were expecting to read from or write to the process), so closing both seems fine.
Yeah, the problem apparently will be this is a hard-break for ArgTools / Tar tests, which rely on the existence of SIGPIPE being produced by |
Should be ok to merge after #41059. |
It seems this behavior was relied upon in ArgTools, so we change the behavior here to match. This is probably more in line with what people expect (and if not, this makes the `success` check now fail noisily, instead of hanging the process)! Refs #38996
It turns out that ArgTools exports a number of test scripts that depend on this change. This was causing many of the failures of the aarch64 buildbot. Hopefully nobody else was depending on the reverse, but I think that should be far less likely (and likely a bug elsewhere in their code already anyways).