public class ProcessRunner
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ProcessRunner.ProcessResult |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ERROR_PREFIX |
static java.lang.String |
OUTPUT_PREFIX |
| Constructor and Description |
|---|
ProcessRunner() |
| Modifier and Type | Method and Description |
|---|---|
static ProcessRunner.ProcessResult |
run(java.lang.Process process)
Executes a process and returns the process output and exit code.
|
public static final java.lang.String ERROR_PREFIX
public static final java.lang.String OUTPUT_PREFIX
public static ProcessRunner.ProcessResult run(java.lang.Process process) throws java.lang.InterruptedException
java.lang.InterruptedExceptionCopyright © 2003-present Jodd Team