org.znerd.util.proc
Class CommonsExecCommandRunner
java.lang.Object
org.znerd.util.proc.CommonsExecCommandRunner
- All Implemented Interfaces:
- CommandRunner
public class CommonsExecCommandRunner
- extends Object
- implements CommandRunner
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommonsExecCommandRunner
public CommonsExecCommandRunner(long timeOut)
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.