public class ShellInterface extends Object
| Constructor and Description |
|---|
ShellInterface() |
| Modifier and Type | Method and Description |
|---|---|
static int |
executeCommand(String command) |
static String |
executeCommandWithOutput(String command) |
public static int executeCommand(String command) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic static String executeCommandWithOutput(String command) throws IOException
IOExceptionCopyright © 2017. All rights reserved.