< prev index next >

src/java.base/share/classes/java/lang/ProcessBuilder.java

Print this page

        

*** 1147,1157 **** * The {@link Process#getOutputStream standard input} of all processes * except the first process are <i>null output streams</i> * The {@link Process#getInputStream standard output} of all processes * except the last process are <i>null input streams</i>. * <p> ! * The {@link #redirectErrorStream} of each ProcessBuilder applies to the * respective process. If set to {@code true}, the error stream is written * to the same stream as standard output. * <p> * If starting any of the processes throws an Exception, all processes * are forcibly destroyed. --- 1147,1157 ---- * The {@link Process#getOutputStream standard input} of all processes * except the first process are <i>null output streams</i> * The {@link Process#getInputStream standard output} of all processes * except the last process are <i>null input streams</i>. * <p> ! * The {@link #redirectErrorStream()} of each ProcessBuilder applies to the * respective process. If set to {@code true}, the error stream is written * to the same stream as standard output. * <p> * If starting any of the processes throws an Exception, all processes * are forcibly destroyed.
< prev index next >