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.Processstart(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 NativeExceptionDescription copied from interface:ProcessLauncherStarts a process from the given settings.- Specified by:
startin interfaceProcessLauncher- Parameters:
processBuilder- The process settings.- Returns:
- the process
- Throws:
NativeException- On failure to start the process.
-
-