Community
Participate
Working Groups
The javadoc for IRemoteProcess says that getInputStream() gives you the process's stdin, and that getOutputStream() gives you the stdout. However this does not make sense, as getInputStream() returns an InputStream (which you cannot write to), and getOutputStream() returns an OutputStream (which you cannot read from). This would mean that you couldn't communicate with the process at all. getErrorStream() returns an InputStream, as it should. I talked to Daniel and he said that the API names (since we are trying to match java.lang.Process) are fixed, but that the javadoc is incorrect. I am attaching a patch which fixes this.
Created attachment 107941 [details] proposed patch proposed patch
Committed.