public interface OverthereProcess
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Forcibly terminates the process.
|
int |
exitValue()
Returns the exit value for the process.
|
java.io.InputStream |
getStderr()
Returns an input stream that is connected to the standard error stream (stderr) of the process.
|
java.io.OutputStream |
getStdin()
Returns an output stream that is connected to the standard input stream (stdin) of the process.
|
java.io.InputStream |
getStdout()
Returns an input stream that is connected to the standard output stream (stdout) of the process.
|
int |
waitFor()
Waits for the command to complete its execution.
|
java.io.OutputStream getStdin()
java.io.InputStream getStdout()
java.io.InputStream getStderr()
int waitFor() throws java.lang.InterruptedException
java.lang.InterruptedException
- if this method was interruptedvoid destroy()
int exitValue() throws java.lang.IllegalThreadStateException
java.lang.IllegalThreadStateException
- if the process has not yet terminated.