public class LoggerProcessBuilder extends AsyncProcessBuilder
| Constructor and Description |
|---|
LoggerProcessBuilder(java.lang.ProcessBuilder processBuilder,
java.io.PrintStream outPrintStream,
java.io.PrintStream errorPrintStream) |
| Modifier and Type | Method and Description |
|---|---|
java.io.PrintStream |
getErrorPrintStream() |
java.io.PrintStream |
getOutPrintStream() |
java.lang.Process |
startAndWait() |
command, command, command, directory, directory, environment, getProcessBuilder, inheritIO, redirectError, redirectError, redirectError, redirectErrorStream, redirectErrorStream, redirectInput, redirectInput, redirectInput, redirectOutput, redirectOutput, redirectOutput, start, startAsyncpublic LoggerProcessBuilder(java.lang.ProcessBuilder processBuilder,
java.io.PrintStream outPrintStream,
java.io.PrintStream errorPrintStream)
public java.lang.Process startAndWait()
throws java.io.IOException,
java.lang.InterruptedException
startAndWait in class AsyncProcessBuilderjava.io.IOExceptionjava.lang.InterruptedExceptionpublic java.io.PrintStream getOutPrintStream()
public java.io.PrintStream getErrorPrintStream()