Package net.splitcells.dem.resource.host
Class SystemUtils
- java.lang.Object
-
- net.splitcells.dem.resource.host.SystemUtils
-
public final class SystemUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description SystemUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
executeProgram(String... command)
static void
executeProgram(List<String> command, Path workingDirectory)
static void
executeShellCommand(String script)
static void
executeShellScript(String command, Path workingDirectory)
static ShellResult
runShellScript(String command, Path workingDirectory)
-
-
-
Method Detail
-
runShellScript
public static ShellResult runShellScript(String command, Path workingDirectory)
-
executeProgram
public static void executeProgram(String... command)
-
executeShellCommand
public static void executeShellCommand(String script)
-
-