public class ProcessRunner extends Object
| Constructor and Description |
|---|
ProcessRunner() |
| Modifier and Type | Method and Description |
|---|---|
Process |
execute(File workingDirectory,
String programName,
String[] programArgs,
OutputStream out,
String logPrefix) |
Process |
execute(String programName,
String[] programArgs,
OutputStream out,
String logPrefix) |
String |
executeToString(String programName,
String[] programArgs) |
public Process execute(String programName, String[] programArgs, OutputStream out, String logPrefix) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic Process execute(File workingDirectory, String programName, String[] programArgs, OutputStream out, String logPrefix) throws IOException, InterruptedException
IOExceptionInterruptedExceptionCopyright © 2013–2017 V5 Analytics. All rights reserved.