public class ExternalProcesses extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
execute(String... command)
Executes the given command.
|
static String |
executeAndReadOutput(String... command)
Executes the given command and returns its output.
|
public static void execute(String... command)
IllegalArgumentException - if command is nullpublic static String executeAndReadOutput(String... command)
IllegalArgumentException - if command is null