public final class ShellUtils
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ShellUtils.CommandResult |
Modifier and Type | Method and Description |
---|---|
static ShellUtils.CommandResult |
execCmd(java.util.List<java.lang.String> commands,
boolean isRoot) |
static ShellUtils.CommandResult |
execCmd(java.util.List<java.lang.String> commands,
boolean isRoot,
boolean isNeedResultMsg) |
static ShellUtils.CommandResult |
execCmd(java.lang.String[] commands,
boolean isRoot) |
static ShellUtils.CommandResult |
execCmd(java.lang.String[] commands,
boolean isRoot,
boolean isNeedResultMsg) |
static ShellUtils.CommandResult |
execCmd(java.lang.String command,
boolean isRoot) |
static ShellUtils.CommandResult |
execCmd(java.lang.String command,
boolean isRoot,
boolean isNeedResultMsg) |
public static ShellUtils.CommandResult execCmd(java.lang.String command, boolean isRoot)
public static ShellUtils.CommandResult execCmd(java.util.List<java.lang.String> commands, boolean isRoot)
public static ShellUtils.CommandResult execCmd(java.lang.String[] commands, boolean isRoot)
public static ShellUtils.CommandResult execCmd(java.lang.String command, boolean isRoot, boolean isNeedResultMsg)
public static ShellUtils.CommandResult execCmd(java.util.List<java.lang.String> commands, boolean isRoot, boolean isNeedResultMsg)
public static ShellUtils.CommandResult execCmd(java.lang.String[] commands, boolean isRoot, boolean isNeedResultMsg)