public final class ExecHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
exec(boolean redirectInput,
String... cmd) |
static String |
waitAndCapture(Process p) |
public static String exec(boolean redirectInput, String... cmd) throws IOException
IOExceptionpublic static String waitAndCapture(Process p) throws IOException, InterruptedException
IOExceptionInterruptedExceptionCopyright © 2019. All rights reserved.