Uses of Class
java.lang.ProcessBuilder
Package
Description
Provides classes that are fundamental to the design of the Java
programming language.
-
Uses of ProcessBuilder in java.lang
Modifier and TypeMethodDescriptionSets this process builder's operating system program and arguments.Sets this process builder's operating system program and arguments.Sets this process builder's working directory.ProcessBuilder.inheritIO()
Sets the source and destination for subprocess standard I/O to be the same as those of the current Java process.ProcessBuilder.redirectError
(File file) Sets this process builder's standard error destination to a file.ProcessBuilder.redirectError
(ProcessBuilder.Redirect destination) Sets this process builder's standard error destination.ProcessBuilder.redirectErrorStream
(boolean redirectErrorStream) Sets this process builder'sredirectErrorStream
property.ProcessBuilder.redirectInput
(File file) Sets this process builder's standard input source to a file.ProcessBuilder.redirectInput
(ProcessBuilder.Redirect source) Sets this process builder's standard input source.ProcessBuilder.redirectOutput
(File file) Sets this process builder's standard output destination to a file.ProcessBuilder.redirectOutput
(ProcessBuilder.Redirect destination) Sets this process builder's standard output destination.Modifier and TypeMethodDescriptionProcessBuilder.startPipeline
(List<ProcessBuilder> builders) Starts a Process for each ProcessBuilder, creating a pipeline of processes linked by their standard output and standard input streams.