| Modifier and Type | Field and Description |
|---|---|
| pack-priv volatile Integer | |
| private final long | |
| private final Ruby | |
| pack-priv volatile Integer |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public int | |
| public InputStream | getErrorStream()
Implements abstract java. Returns the input stream connected to the error output of the process. |
| public InputStream | getInputStream()
Implements abstract java. Returns the input stream connected to the normal output of the process. |
| public OutputStream | getOutputStream()
Implements abstract java. Returns the output stream connected to the normal input of the process. |
| public long | |
| public int | |
| public synchronized int | waitFor()
Implements abstract java. Causes the current thread to wait, if necessary, until the
process represented by this |
| exitValue | back to summary |
|---|---|
| pack-priv volatile Integer exitValue | |
| finalPid | back to summary |
|---|---|
| private final long finalPid | |
| runtime | back to summary |
|---|---|
| private final Ruby runtime | |
| status | back to summary |
|---|---|
| pack-priv volatile Integer status | |
| POSIXProcess | back to summary |
|---|---|
| public POSIXProcess(Ruby runtime, long finalPid) | |
| destroy | back to summary |
|---|---|
| public void destroy() Implements abstract java. Doc from java. Kills the process.
Whether the process represented by this
The
| |
| exitValue | back to summary |
|---|---|
| public int exitValue() Implements abstract java. Doc from java. Returns the exit value for the process.
| |
| getErrorStream | back to summary |
|---|---|
| public InputStream getErrorStream() Implements abstract java. Doc from java. Returns the input stream connected to the error output of the
process. The stream obtains data piped from the error output
of the process represented by this If the standard error of the process has been redirected using
| |
| getInputStream | back to summary |
|---|---|
| public InputStream getInputStream() Implements abstract java. Doc from java. Returns the input stream connected to the normal output of the
process. The stream obtains data piped from the standard
output of the process represented by this If the standard output of the process has been redirected using
Otherwise, if the standard error of the process has been
redirected using
| |
| getOutputStream | back to summary |
|---|---|
| public OutputStream getOutputStream() Implements abstract java. Doc from java. Returns the output stream connected to the normal input of the
process. Output to the stream is piped into the standard
input of the process represented by this If the standard input of the process has been redirected using
| |
| pid | back to summary |
|---|---|
| public long pid() Overrides java. Doc from java. Returns the native process ID of the process. The native process ID is an identification number that the operating system assigns to the process.
| |
| status | back to summary |
|---|---|
| public int status() | |
| waitFor | back to summary |
|---|---|
| public synchronized int waitFor() throws InterruptedException Implements abstract java. Doc from java. Causes the current thread to wait, if necessary, until the
process represented by this
| |