Re: [gtk-list] Re: fork() with gtk ?



On Tue, Jul 13, 1999 at 10:25:13AM +0200, Norbert Bladt wrote:
> Would using "popen" be a bad solution for this case ?
> In this way you can show a progressbar during the "formatting"
> but have to process the GUI events.
> 
> What is the opinion of the members of this list ?

You must do:

   #include "gdk/gdkx.h"
   close( ConnectionNumber( gdk_display ));

before popen(), as popen() does not close open descriptors.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]