On Friday 15 December 2006 13:57, Jacek Jablonski wrote:
> I have some program in C++ that emits the data to stdout. And I have
> some script in Python. I want this script to read the data everytime
> it is available and then move the progress bar. But whole content is
> read when QProcess ends. Here is code:
...
>
> so foo() is called only once, because "in the function" shows only once.
> Please help,

I'm not sure about the ggsend command, but you'll only get data when that 
process either flushes it's output, or when the buffer becomes full and is 
flushed automatically.  So if there's relatively little output it will come 
all at once, and there is nothing you can do about that without changing the 
ggsend program to flush it's output more often.

Matt

_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to