public abstract class Shell
extends java.lang.Object
Constructor and Description |
---|
Shell() |
Modifier and Type | Method and Description |
---|---|
static Shell |
getCygwinShell(java.lang.String binary)
a wrapper around the cygwin shell
|
static Shell |
getNativeShell()
a wrapper for the os' native shell
|
abstract java.lang.String |
run(java.lang.String cmd)
runs command
|
private static Shell nat
public static Shell getNativeShell()
public static Shell getCygwinShell(java.lang.String binary)
binary
- path to bash.exepublic abstract java.lang.String run(java.lang.String cmd) throws java.lang.InterruptedException, java.io.IOException
cmd
- the command to be runjava.lang.InterruptedException
java.io.IOException