public class ExecIt extends Object
| Modifier and Type | Field and Description |
|---|---|
protected POSIXHandler |
handler |
| Constructor and Description |
|---|
ExecIt(POSIXHandler handler)
Creates a new instance of ShellLauncher
|
| Modifier and Type | Method and Description |
|---|---|
Process |
run(String... args) |
int |
runAndWait(OutputStream output,
OutputStream error,
String... args) |
int |
runAndWait(OutputStream output,
String... args) |
int |
runAndWait(String... args) |
protected final POSIXHandler handler
public ExecIt(POSIXHandler handler)
public int runAndWait(String... args) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic int runAndWait(OutputStream output, String... args) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic int runAndWait(OutputStream output, OutputStream error, String... args) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic Process run(String... args) throws IOException
IOExceptionCopyright © 2015. All Rights Reserved.