org.schmant.support.io
Class ProcessSupport
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.