Uses of Class
java.lang.Process
Package
Description
Provides classes that are fundamental to the design of the Java
programming language.
-
Uses of Process in java.lang
Modifier and TypeMethodDescriptionProcess.destroyForcibly()
Kills the process forcibly.Deprecated.Executes the specified command and arguments in a separate process.Executes the specified command and arguments in a separate process with the specified environment.Executes the specified command and arguments in a separate process with the specified environment and working directory.Deprecated.This method is error-prone and should not be used, the corresponding methodRuntime.exec(String[], String[])
orProcessBuilder
should be used instead.Deprecated.This method is error-prone and should not be used, the corresponding methodRuntime.exec(String[], String[], File)
orProcessBuilder
should be used instead.ProcessBuilder.start()
Starts a new process using the attributes of this process builder.Modifier and TypeMethodDescriptionProcess.onExit()
Returns aCompletableFuture<Process>
for the termination of the 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.
Runtime.exec(String[])
orProcessBuilder
should be used instead.