ProcessBuilder support for pipelines

Chris Hegarty chris.hegarty at oracle.com
Tue Jul 28 08:28:05 UTC 2015


I find this kinda cute. Seems like a reasonable addition to me.

-Chris.

On 27 Jul 2015, at 15:48, Roger Riggs <Roger.Riggs at oracle.com> wrote:

> On most operating systems, creating pipelines of processes is simple and direct.
> That same function is missing from the Java Process support and can be provided by
> java.lang.ProcessBuilder by enabling the pipes created for stdout to be
> used for standard input when the processes are created.
> Comments and feedback are appreciated on the prototype API and implementation.
> 
> Javadoc:  java.lang.ProcessBuilder.startPipe:
> http://cr.openjdk.java.net/~rriggs/pipedoc/java/lang/ProcessBuilder.html#startPipe-java.lang.ProcessBuilder...-
> 
> webrev prototype:
>  http://cr.openjdk.java.net/~rriggs//webrev-pipeline-8132394
> 
> Thanks, Roger
> 




More information about the core-libs-dev mailing list