public class RuntimeTools
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RuntimeTools.ProcessResult
The result from a process, including the exit code and output.
|
Constructor and Description |
---|
RuntimeTools() |
Modifier and Type | Method and Description |
---|---|
static RuntimeTools.ProcessResult |
exec(java.lang.String... command) |
public static RuntimeTools.ProcessResult exec(java.lang.String... command) throws java.io.IOException, java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedException