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
IOException
InterruptedException
public static String executeCommandWithOutput(String command) throws IOException
IOException
Copyright © 2017. All rights reserved.