| java.lang.Object | ||
| java.lang.Process | ||
Instances of class Process provide control of and access to platform processes.
| Process() |
| abstract | void | destroy() | |||
| Terimates the receiver and closes any associated streams. | |||||
| abstract | int | exitValue() | |||
| Answers the exit value of the receiving Process. | |||||
| abstract | InputStream | getErrorStream() | |||
| Answers the receiver's error output stream. | |||||
| abstract | InputStream | getInputStream() | |||
| Answers the receiver's standard input stream
Note: This is an InputStream which allows reading from the other process' "stdout". |
|||||
| abstract | OutputStream | getOutputStream() | |||
| Answers the receiver's standard output stream
Note: This is an OutputStream which allows writing to the other process' "stdin". |
|||||
| abstract | int | waitFor() | |||
| Causes the calling thread to wait for the process associated with the receiver to finish executing. | |||||
Methods inherited
from class
java.lang.Object
| IllegalThreadStateException | If the receiver has not terminated. |
|---|
Note: This is an InputStream which allows reading of the other threads "stderr".
Note: This is an InputStream which allows reading from the other process' "stdout".
Note: This is an OutputStream which allows writing to the other process' "stdin".
| InterruptedException | If the calling thread is interrupted |
|---|