The Windows implementation of ProcessImpl builds the pipeline and correctly pipes the inputs and outputs but the returned Processes do not return the null stream from getInputStream for all but the last process.
The spec for startPipeline says:
"The {@link Process#getInputStream standard output} of all processes
except the last process are null input streams."
A bug in the test hid the problem.
The spec for startPipeline says:
"The {@link Process#getInputStream standard output} of all processes
except the last process are null input streams."
A bug in the test hid the problem.
- relates to
-
JDK-8211844 [aix] ProcessBuilder: Piping between created processes does not work.
- Resolved