## Uses of Class
java.lang.ProcessBuilder

- Packages that use ProcessBuilder
  Package | Description
  --- | ---
  java.lang | Provides classes that are fundamental to the design of the Java programming language.

- - ### Uses of ProcessBuilder in java.lang

    Methods in java.lang that return ProcessBuilder
    Modifier and Type | Method | Description
    --- | --- | ---
    `ProcessBuilder` | ProcessBuilder.`command​(String... command)` | Sets this process builder's operating system program and arguments.
    `ProcessBuilder` | ProcessBuilder.`command​(List<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.

    Method parameters in java.lang with type arguments of type ProcessBuilder
    Modifier and Type | Method | Description
    --- | --- | ---
    `static List<Process>` | ProcessBuilder.`startPipeline​(List<ProcessBuilder> builders)` | Starts a Process for each ProcessBuilder, creating a pipeline of processes linked by their standard output and standard input streams.