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
IOException
InterruptedException
public int runAndWait(OutputStream output, String... args) throws IOException, InterruptedException
IOException
InterruptedException
public int runAndWait(OutputStream output, OutputStream error, String... args) throws IOException, InterruptedException
IOException
InterruptedException
public Process run(String... args) throws IOException
IOException
Copyright © 2015. All Rights Reserved.