A Ter, 2004-04-27 �s 07:58, Dario M�ndez escreveu:
> Greetings everyone, I've just began PyGTK developing today and I started 
> to get my GTKmm kernel compilation utility "ported" to PyGTK.
> 
> In order to display the make ouput I used a particular Glib method 
> (spawn_async_with_pipes).
> 
> I've tryed looking around, but I didn't find any equivalent, so I hooked 
> up the old popen(), wich, of course, freezes the window during the make 
> process.
> 
> Does anybody know a way to display the popen output while the process is 
> running?

  Just like in C, in Python use gobject.input_add to know when to read
from child stdout.  Seems very simple.  Or do you have a more specific
problem?

> Thanks in advance
> _______________________________________________
> pygtk mailing list   [EMAIL PROTECTED]
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
-- 
Gustavo J. A. M. Carneiro
<[EMAIL PROTECTED]> <[EMAIL PROTECTED]>

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to