Ignore broken pipe error when writing to a died process
|Reported by:||guest||Owned by:||pcapriotti|
|Type of failure:||None/Unknown||Test Case:||T4889|
|Related Tickets:||Differential Rev(s):|
In readProcessWithExitCode, when child dies without reading whole input we get a pipe error. This happens when child program is not satisfied with input or does not need whole input. In such a case error code from the child program is more expected.
The solution is to ignore write error (broken pipe).
For a (short) discussion of issue see thread:
Attached patch ignores output exceptions.
Change History (8)
Changed 6 years ago by