net.rubygrapefruit.platform.internal
Class WindowsProcessLauncher

java.lang.Object
  extended by net.rubygrapefruit.platform.internal.WindowsProcessLauncher
All Implemented Interfaces:
NativeIntegration, ProcessLauncher

public class WindowsProcessLauncher
extends java.lang.Object
implements ProcessLauncher


Constructor Summary
WindowsProcessLauncher(ProcessLauncher launcher)
           
 
Method Summary
 java.lang.Process start(java.lang.ProcessBuilder processBuilder)
          Starts a process from the given settings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 interface ProcessLauncher
Parameters:
processBuilder - The process settings.
Returns:
the process
Throws:
NativeException - On failure to start the process.