Uses of Class
java.lang.Process
Packages that useProcess
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 ofProcess incom.sun.jdi
Methods incom.sun.jdi that returnProcessModifier and TypeMethodDescriptionVirtualMachine.process()Returns theProcessobject for this virtual machine if launched by aLaunchingConnectorMethods incom.sun.jdi with parameters of typeProcessModifier and TypeMethodDescriptionVirtualMachineManager.createVirtualMachine(Connection connection,Process process) Create a virtual machine mirror for a target VM.Uses ofProcess incom.sun.jdi.connect
Methods incom.sun.jdi.connect that returnProcessConstructors incom.sun.jdi.connect with parameters of typeProcessModifierConstructorDescriptionVMStartException(Process process) VMStartException(String message,Process process) Uses ofProcess injava.lang
Modifier and TypeMethodDescriptionProcess.destroyForcibly()Kills the process forcibly.Deprecated.This method is error-prone and should not be used, the corresponding methodRuntime.exec(String[])orProcessBuildershould be used instead.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[])orProcessBuildershould be used instead.Deprecated.This method is error-prone and should not be used, the corresponding methodRuntime.exec(String[], String[], File)orProcessBuildershould 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 ofProcess injdk.jshell.execution
Methods injdk.jshell.execution that returnProcessModifier and TypeMethodDescriptionJdiDefaultExecutionControl.JdiStarter.TargetDescription.process()Returns the value of theprocessrecord component.JdiInitiator.process()Returns the launched process.Methods injdk.jshell.execution with parameters of typeProcessModifier and TypeMethodDescriptionvoidJdiInitiator.ProcessStarted.processStarted(Process p) Notify the process has been started.Constructors injdk.jshell.execution with parameters of typeProcessModifierConstructorDescriptionTargetDescription(VirtualMachine vm,Process process) Creates an instance of aTargetDescriptionrecord class.