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
-Original Message-
From: [EMAIL PROTECTED] on behalf of Vladimir Pouzanov
Sent: Tue 11/6/2007 10:08 AM
To: pyqt@riverbankcomputing.com
Subject: [PyQt] stdin processing
Is there any way to read stdin line by line without blocking? My application
receives data over stdin (one command per line) and
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
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.open(0, QtCore.QIODevice.ReadOnly)
self.connect(self.stdi