Class java.lang.UNIXProcess
All Packages This Package Previous Next
Class java.lang.UNIXProcess
java.lang.Object
|
+----java.lang.Process
|
+----java.lang.UNIXProcess
-
public class
UNIXProcess
-
extends Process
-
deadChild(int, int)
-
-
destroy()
-
Kills the subprocess.
-
exitValue()
-
Returns the exit value for the subprocess.
-
getErrorStream()
-
Returns the an InputStream connected to the error stream of the child process.
-
getInputStream()
-
Returns a Stream connected to the output of the child process.
-
getOutputStream()
-
Returns a Stream connected to the input of the child process.
-
waitFor()
-
Waits for the subprocess to complete.
deadChild
public static synchronized void deadChild(int pid,
int exitcode)
getOutputStream
public OutputStream getOutputStream()
-
Returns a Stream connected to the input of the child process.
-
Overrides:
-
getOutputStream in class Process
getInputStream
public InputStream getInputStream()
-
Returns a Stream connected to the output of the child process.
-
Overrides:
-
getInputStream in class Process
getErrorStream
public InputStream getErrorStream()
-
Returns the an InputStream connected to the error stream of the child process.
-
Overrides:
-
getErrorStream in class Process
waitFor
public int waitFor() throws InterruptedException
-
Waits for the subprocess to complete.
-
Overrides:
-
waitFor in class Process
exitValue
public int exitValue()
-
Returns the exit value for the subprocess.
-
Overrides:
-
exitValue in class Process
destroy
public void destroy()
-
Kills the subprocess.
-
Overrides:
-
destroy in class Process
All Packages This Package Previous Next