public class SpawnedProcess
extends java.lang.Process
Modifier and Type | Field and Description |
---|---|
java.io.FileDescriptor |
stdout_fd |
Constructor and Description |
---|
SpawnedProcess(java.lang.String[] cmdarray,
java.lang.String[] envp,
java.io.File chdir) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
int |
exitValue() |
java.io.InputStream |
getErrorStream() |
java.io.InputStream |
getInputStream() |
static java.lang.Throwable |
getLibLoadError() |
java.io.OutputStream |
getOutputStream() |
static boolean |
isLibraryLoaded() |
java.lang.String |
toString() |
int |
waitFor() |
public SpawnedProcess(java.lang.String[] cmdarray, java.lang.String[] envp, java.io.File chdir) throws java.io.IOException
java.io.IOException
public static boolean isLibraryLoaded()
public static java.lang.Throwable getLibLoadError()
public int exitValue() throws java.lang.IllegalThreadStateException
exitValue
in class java.lang.Process
java.lang.IllegalThreadStateException
public java.io.InputStream getInputStream()
getInputStream
in class java.lang.Process
public java.io.InputStream getErrorStream()
getErrorStream
in class java.lang.Process
public java.io.OutputStream getOutputStream()
getOutputStream
in class java.lang.Process
public int waitFor() throws java.lang.InterruptedException
waitFor
in class java.lang.Process
java.lang.InterruptedException
public void destroy()
destroy
in class java.lang.Process
public java.lang.String toString()
toString
in class java.lang.Object