Uses of Class
java.lang.Process
Package
Description
This is the core package of the Java Debug
Interface (JDI), it defines mirrors for values, types, and the target
VirtualMachine itself - as well bootstrapping facilities.
This package defines connections between the virtual machine
using the JDI and the target virtual machine.
Provides classes that are fundamental to the design of the Java
programming language.
Provides implementation support for building JShell execution engines.
-
Uses of Process in com.sun.jdi
Modifier and TypeMethodDescriptionVirtualMachine.process()
Returns theProcess
object for this virtual machine if launched by aLaunchingConnector
Modifier and TypeMethodDescriptionVirtualMachineManager.createVirtualMachine
(Connection connection, Process process) Create a virtual machine mirror for a target VM. -
Uses of Process in com.sun.jdi.connect
ModifierConstructorDescriptionVMStartException
(Process process) VMStartException
(String message, Process process) -
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. -
Uses of Process in jdk.jshell.execution
Runtime.exec(String[])
orProcessBuilder
should be used instead.