public class ConsoleCmdExecutor extends Object
Constructor and Description |
---|
ConsoleCmdExecutor() |
Modifier and Type | Method and Description |
---|---|
static String |
exec(List<String> command) |
static <T> T |
exec(List<String> command,
ICmdOutputHandler<T> handler) |
static String |
exec(String... command) |
static <T> T |
exec(String[] command,
ICmdOutputHandler<T> handler) |
public static <T> T exec(String[] command, ICmdOutputHandler<T> handler) throws Exception
Exception
public static <T> T exec(List<String> command, ICmdOutputHandler<T> handler) throws Exception
Exception
Copyright © 2022. All rights reserved.