Package jnr.posix
Class JavaLibCHelper.PosixExec
java.lang.Object
jnr.posix.util.ExecIt
jnr.posix.JavaLibCHelper.PosixExec
- Enclosing class:
- JavaLibCHelper
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AtomicReference<jnr.constants.platform.Errno>
private final JavaLibCHelper.ErrnoParsingOutputStream
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate int
parseResult
(int result) int
runAndWait
(OutputStream output, OutputStream error, String... args) int
runAndWait
(OutputStream output, String... args) int
runAndWait
(String... args)
-
Field Details
-
errno
-
errorStream
-
-
Constructor Details
-
PosixExec
-
-
Method Details
-
parseResult
private int parseResult(int result) -
runAndWait
- Overrides:
runAndWait
in classExecIt
- Throws:
IOException
InterruptedException
-
runAndWait
- Overrides:
runAndWait
in classExecIt
- Throws:
IOException
InterruptedException
-
runAndWait
public int runAndWait(OutputStream output, OutputStream error, String... args) throws IOException, InterruptedException - Overrides:
runAndWait
in classExecIt
- Throws:
IOException
InterruptedException
-