Uses of Class
java.lang.Process
Packages that useProcess Package Description com.sun.jdi 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.com.sun.jdi.connect This package defines connections between the virtual machine using the JDI and the target virtual machine.java.lang Provides classes that are fundamental to the design of the Java programming language.jdk.jshell.execution Provides implementation support for building JShell execution engines.Uses ofProcess incom.sun.jdi
Methods incom.sun.jdi that returnProcess Modifier and Type Method Description ProcessVirtualMachine. process()Returns theProcessobject for this virtual machine if launched by aLaunchingConnectorMethods incom.sun.jdi with parameters of typeProcess Modifier and Type Method Description VirtualMachineVirtualMachineManager. 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 returnProcess Modifier and Type Method Description ProcessVMStartException. process()Constructors incom.sun.jdi.connect with parameters of typeProcess Constructor Description VMStartException(Process process)VMStartException(String message,Process process)Uses ofProcess injava.lang
Methods injava.lang that returnProcess Modifier and Type Method Description ProcessProcess. destroyForcibly()Kills the process forcibly.ProcessRuntime. exec(String command)Executes the specified string command in a separate process.ProcessRuntime. exec(String[] cmdarray)Executes the specified command and arguments in a separate process.ProcessRuntime. exec(String[] cmdarray,String[] envp)Executes the specified command and arguments in a separate process with the specified environment.ProcessRuntime. exec(String[] cmdarray,String[] envp,File dir)Executes the specified command and arguments in a separate process with the specified environment and working directory.ProcessRuntime. exec(String command,String[] envp)Executes the specified string command in a separate process with the specified environment.ProcessRuntime. exec(String command,String[] envp,File dir)Executes the specified string command in a separate process with the specified environment and working directory.ProcessProcessBuilder. start()Starts a new process using the attributes of this process builder.Methods injava.lang that return types with arguments of typeProcess Modifier and Type Method Description CompletableFuture<Process>Process. onExit()Returns aCompletableFuture<Process>for the termination of the Process.staticList<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 returnProcess Modifier and Type Method Description ProcessJdiInitiator. process()Returns the launched process.