| Package | Description |
|---|---|
| java.lang |
Provides classes that are fundamental to the design of the Java programming language.
|
| Modifier and Type | Field and Description |
|---|---|
static ProcessBuilder |
ProcessBuilder.Redirect.INHERIT
Indicates that subprocess I/O source or destination will be the same as those of the current process.
|
static ProcessBuilder |
ProcessBuilder.Redirect.PIPE
Indicates that subprocess I/O will be connected to the current Java process over a pipe.
|
| Modifier and Type | Method and Description |
|---|---|
static ProcessBuilder |
ProcessBuilder.Redirect.appendTo(File
Returns a redirect to append to the specified file.
|
static ProcessBuilder |
ProcessBuilder.Redirect.from(File
Returns a redirect to read from the specified file.
|
ProcessBuilder |
ProcessBuilder.redirectError()
Returns this process builder's standard error destination.
|
ProcessBuilder |
ProcessBuilder.redirectInput()
Returns this process builder's standard input source.
|
ProcessBuilder |
ProcessBuilder.redirectOutput()
Returns this process builder's standard output destination.
|
static ProcessBuilder |
ProcessBuilder.Redirect.to(File
Returns a redirect to write to the specified file.
|
| Modifier and Type | Method and Description |
|---|---|
ProcessBuilder |
ProcessBuilder.redirectError(ProcessBuilder
Sets this process builder's standard error destination.
|
ProcessBuilder |
ProcessBuilder.redirectInput(ProcessBuilder
Sets this process builder's standard input source.
|
ProcessBuilder |
ProcessBuilder.redirectOutput(ProcessBuilder
Sets this process builder's standard output destination.
|