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(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.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2013, Oracle and/or its affiliates. All rights reserved.