Two questions/remarks:
First point is, I do not understand, why I have to poll in my own OnIdle handler, since PipedProcess calls HasInput in its own OnIdle.
Second, I found out, that I get data from a launched process every 4 kB of data are written by that process; befor the 4kB-buffer is full, IsInputAvailable of wxProcess returns false. Gdb is an exception, since gdb uses unbuffered I/O. If I create a wxTextInputStream of the processes input stream, I can read data less than 4kB, but with a blocking Read function, if no data is available.
My question is: is there a possibility to read byte-by-byte non-blocking from an input stream, or do I have to use an extra thread for reading from the stream?
Bye,
Mario