org.znerd.util.proc
Class CommonsExecCommandRunner

java.lang.Object
  extended by org.znerd.util.proc.CommonsExecCommandRunner
All Implemented Interfaces:
CommandRunner

public class CommonsExecCommandRunner
extends Object
implements CommandRunner


Constructor Summary
CommonsExecCommandRunner(long timeOut)
           
 
Method Summary
 CommandRunResult runCommand(File workingDirectory, String command, String... arguments)
           
 CommandRunResult runCommand(String command, String... arguments)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommonsExecCommandRunner

public CommonsExecCommandRunner(long timeOut)
Method Detail

runCommand

public CommandRunResult runCommand(String command,
                                   String... arguments)
Specified by:
runCommand in interface CommandRunner

runCommand

public CommandRunResult runCommand(File workingDirectory,
                                   String command,
                                   String... arguments)
Specified by:
runCommand in interface CommandRunner


Copyright © 2011-2012. All Rights Reserved.