On 2012-08-10 02:46, Rolf Eike Beer wrote:
Ehm, no. readLine() unconditionally calls readAll(). But that will also clear
the input buffer of the process object. So there is nothing left to read on the
next readLine() or readAll() call.
Eike
So you are saying:
- readAll clears the buffer
- readLine unconditionally calls readAll
- readLine may be called multiple times to read multiple lines
Is that correct?
(Again, I note that in testing, calling readAll then readLine is
successful.)
Best regards,
Michael