Hi list.

My question relates to streams returned by
java.lang.Process.getInputStream()

On Linux calling available() after the other side of the pipe was closed
will throw:

        java.io.IOException: Stream Closed

This is very handy, because you can distinguish EOF and a pause in
transmission.

On Windows same Oracle JDK version 1.8.0_161 behaves in a traditional
manner and available() returns 0 in both cases. Will this ever change?

Reply via email to