Tom Dossis wrote:
On 07/11/2007, at 2:08 AM, Vladimir Pouzanov wrote:
Is there any way to read stdin line by line without blocking? My
application
receives data over stdin (one command per line) and should react
immediately.
I get the same problem in the following doctest.
Also I don't se
On 07/11/2007, at 2:08 AM, Vladimir Pouzanov wrote:
Is there any way to read stdin line by line without blocking? My
application
receives data over stdin (one command per line) and should react
immediately.
I've tried to make such thing:
self.stdin = QtCore.QFile(self)
self.stdin.o
Hi,
Vladimir Pouzanov wrote:
Is there any way to read stdin line by line without blocking? My application
receives data over stdin (one command per line) and should react immediately.
Your story sounds a lot like the world of confusion and pain I found
myself in when I wanted to read a pipe i
I believe that this is because the QFile object as implemented in the Qt
library on which PyQT builds does not emit the readyRead signal either. See:
http://doc.trolltech.com/4.3/qfile.html
As far as I can tell, there is no basic reason why a QFile should not emit a
readyRead signal. The analogou
On 06.11.07 15:08:49, Vladimir Pouzanov wrote:
> Is there any way to read stdin line by line without blocking? My application
> receives data over stdin (one command per line) and should react immediately.
>
> I've tried to make such thing:
> self.stdin = QtCore.QFile(self)
> self.stdin.op