Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.20.1, 0.21.0, 0.22.0
-
None
-
None
Description
in PipeMapRed.mapRedFinished, streaming flushes and closes clientOut_, the handle to the subprocess's stdin. If the subprocess has already exited or closed its stdin, this will generate a Broken Pipe IOException. This causes us to skip waitOutputThreads, which is incorrect, since the subprocess may have data still written from stdout that needs to be read.