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

Method Index

 o deadChild(int, int)
 o destroy()
Kills the subprocess.
 o exitValue()
Returns the exit value for the subprocess.
 o getErrorStream()
Returns the an InputStream connected to the error stream of the child process.
 o getInputStream()
Returns a Stream connected to the output of the child process.
 o getOutputStream()
Returns a Stream connected to the input of the child process.
 o waitFor()
Waits for the subprocess to complete.

Methods

 o deadChild
  public static synchronized void deadChild(int pid,
                                            int exitcode)
 o getOutputStream
  public OutputStream getOutputStream()
Returns a Stream connected to the input of the child process.
Overrides:
getOutputStream in class Process

 o getInputStream

  public InputStream getInputStream()
Returns a Stream connected to the output of the child process.
Overrides:
getInputStream in class Process

 o getErrorStream

  public InputStream getErrorStream()
Returns the an InputStream connected to the error stream of the child process.
Overrides:
getErrorStream in class Process

 o waitFor

  public int waitFor() throws InterruptedException
Waits for the subprocess to complete.
Overrides:
waitFor in class Process

 o exitValue

  public int exitValue()
Returns the exit value for the subprocess.
Overrides:
exitValue in class Process

 o destroy

  public void destroy()
Kills the subprocess.
Overrides:
destroy in class Process


All Packages    This Package    Previous    Next