Package | Description |
---|---|
java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
Modifier and Type | Method and Description |
---|---|
ProcessBuilder |
ProcessBuilder.command(java.util.List<String> command)
Sets this process builder's operating system program and
arguments.
|
ProcessBuilder |
ProcessBuilder.command(String... command)
Sets this process builder's operating system program and
arguments.
|
ProcessBuilder |
ProcessBuilder.directory(File directory)
Sets this process builder's working directory.
|
ProcessBuilder |
ProcessBuilder.inheritIO()
Sets the source and destination for subprocess standard I/O
to be the same as those of the current Java process.
|
ProcessBuilder |
ProcessBuilder.redirectError(File file)
Sets this process builder's standard error destination to a file.
|
ProcessBuilder |
ProcessBuilder.redirectError(ProcessBuilder.Redirect destination)
Sets this process builder's standard error destination.
|
ProcessBuilder |
ProcessBuilder.redirectErrorStream(boolean redirectErrorStream)
Sets this process builder's
redirectErrorStream property. |
ProcessBuilder |
ProcessBuilder.redirectInput(File file)
Sets this process builder's standard input source to a file.
|
ProcessBuilder |
ProcessBuilder.redirectInput(ProcessBuilder.Redirect source)
Sets this process builder's standard input source.
|
ProcessBuilder |
ProcessBuilder.redirectOutput(File file)
Sets this process builder's standard output destination to a file.
|
ProcessBuilder |
ProcessBuilder.redirectOutput(ProcessBuilder.Redirect destination)
Sets this process builder's standard output destination.
|