public abstract class Shell extends Object
| Constructor and Description |
|---|
Shell() |
| Modifier and Type | Method and Description |
|---|---|
static Shell |
getCygwinShell(String binary)
a wrapper around the cygwin shell
|
static Shell |
getNativeShell()
a wrapper for the os' native shell
|
abstract String |
run(String cmd)
runs command
|
public static Shell getNativeShell()
public static Shell getCygwinShell(String binary)
binary - path to bash.exepublic abstract String run(String cmd) throws InterruptedException, IOException
cmd - the command to be runInterruptedExceptionIOExceptionCopyright © 2018. All rights reserved.