public final class ShellUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ShellUtils.Result |
| Constructor and Description |
|---|
ShellUtils() |
| Modifier and Type | Method and Description |
|---|---|
static ShellUtils.Result |
execute(File directory,
Map<String,String> envp,
String... command) |
static ShellUtils.Result |
execute(String... command)
shell("ls", "-l")
|
static ShellUtils.Result |
shell(String command)
shell("ls -l")
|
static ShellUtils.Result |
shell(String command,
File directory,
Map<String,String> envp) |
public static ShellUtils.Result shell(String command)
public static ShellUtils.Result shell(String command, File directory, Map<String,String> envp)
public static ShellUtils.Result execute(String... command)
Copyright © 2016 jetbrick. All rights reserved.