Class WindowsProcessLauncher
- java.lang.Object
-
- net.rubygrapefruit.platform.internal.WindowsProcessLauncher
-
- All Implemented Interfaces:
NativeIntegration
,ProcessLauncher
public class WindowsProcessLauncher extends java.lang.Object implements ProcessLauncher
-
-
Constructor Summary
Constructors Constructor Description WindowsProcessLauncher(ProcessLauncher launcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Process
start(java.lang.ProcessBuilder processBuilder)
Starts a process from the given settings.
-
-
-
Constructor Detail
-
WindowsProcessLauncher
public WindowsProcessLauncher(ProcessLauncher launcher)
-
-
Method Detail
-
start
public java.lang.Process start(java.lang.ProcessBuilder processBuilder) throws NativeException
Description copied from interface:ProcessLauncher
Starts a process from the given settings.- Specified by:
start
in interfaceProcessLauncher
- Parameters:
processBuilder
- The process settings.- Returns:
- the process
- Throws:
NativeException
- On failure to start the process.
-
-