Package jnr.posix.util
Class ExecIt
java.lang.Object
jnr.posix.util.ExecIt
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
runAndWait
(OutputStream output, OutputStream error, String... args) int
runAndWait
(OutputStream output, String... args) int
runAndWait
(String... args)
-
Field Details
-
handler
-
-
Constructor Details
-
ExecIt
Creates a new instance of ShellLauncher- Parameters:
handler
- thePOSIXHandler
to use
-
-
Method Details
-
runAndWait
- Throws:
IOException
InterruptedException
-
runAndWait
- Throws:
IOException
InterruptedException
-
runAndWait
public int runAndWait(OutputStream output, OutputStream error, String... args) throws IOException, InterruptedException - Throws:
IOException
InterruptedException
-
run
- Throws:
IOException
-