The output stream is obtained with getInputStream()
I have never used the Process class before and I’m baffled by the getters of the Process class:
- getErrorStream() returns the process error output stream. That makes sense.
- getInputStream() returns the process standard output stream
How confusing is that?