public interface ProcessExecutor
Modifier and Type | Field and Description |
---|---|
static String |
PROCESS_EXECUTER_CLASS_NAME_PROPERTY_KEY
The process executer class name property key
|
Modifier and Type | Method and Description |
---|---|
ProcessExecutorHelper.ProcessOutput |
executeProcess(ConfigurationHolder configurationHolder,
String command)
This function executes the given command and returns the process output.
|
static final String PROCESS_EXECUTER_CLASS_NAME_PROPERTY_KEY
ProcessExecutorHelper.ProcessOutput executeProcess(ConfigurationHolder configurationHolder, String command) throws IOException, InterruptedException
configurationHolder
- The configuration holder used when invoking the processcommand
- The command to executeIOException
- Any IO exceptionInterruptedException
- If thread interrupted during waitFor for the processCopyright © 2009–2020 fax4j. All rights reserved.