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
Exceptionpublic static <T> T exec(List<String> command, ICmdOutputHandler<T> handler) throws Exception
ExceptionCopyright © 2022. All rights reserved.