org.schmant.support.io
Class ProcessSupport

java.lang.Object
  extended by org.schmant.support.io.ProcessSupport

public final class ProcessSupport
extends Object

Support class for running external processes. This is used by the external process task.

Since:
0.5
Author:
Karl Gustafsson

Method Summary
static ProcessResult execAndWait(ProcessSettings ps)
          Execute the command and wait for it to complete.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

execAndWait

public static ProcessResult execAndWait(ProcessSettings ps)
                                 throws InterruptedException
Execute the command and wait for it to complete.

Parameters:
ps - The settings.
Returns:
A ProcessResult object.
Throws:
InterruptedException - If the execution is interrupted.