private static class JavaLibCHelper.PosixExec extends ExecIt
| Modifier and Type | Field and Description |
|---|---|
private java.util.concurrent.atomic.AtomicReference<jnr.constants.platform.Errno> |
errno |
private JavaLibCHelper.ErrnoParsingOutputStream |
errorStream |
| Constructor and Description |
|---|
PosixExec(POSIXHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
private int |
parseResult(int result) |
int |
runAndWait(java.io.OutputStream output,
java.io.OutputStream error,
java.lang.String... args) |
int |
runAndWait(java.io.OutputStream output,
java.lang.String... args) |
int |
runAndWait(java.lang.String... args) |
private final java.util.concurrent.atomic.AtomicReference<jnr.constants.platform.Errno> errno
private final JavaLibCHelper.ErrnoParsingOutputStream errorStream
public PosixExec(POSIXHandler handler)
private int parseResult(int result)
public int runAndWait(java.lang.String... args)
throws java.io.IOException,
java.lang.InterruptedException
runAndWait in class ExecItjava.io.IOExceptionjava.lang.InterruptedExceptionpublic int runAndWait(java.io.OutputStream output,
java.lang.String... args)
throws java.io.IOException,
java.lang.InterruptedException
runAndWait in class ExecItjava.io.IOExceptionjava.lang.InterruptedExceptionpublic int runAndWait(java.io.OutputStream output,
java.io.OutputStream error,
java.lang.String... args)
throws java.io.IOException,
java.lang.InterruptedException
runAndWait in class ExecItjava.io.IOExceptionjava.lang.InterruptedException