Re: popen() works, but now?



On Thu, Jan 18, 2001 at 04:04:02PM +0100, Joachim Backes wrote:
> 
> On 18-Jan-2001 Sven Neumann wrote: 
> >  "Timothy M. Shead" <tshead k-3d com> writes:
> >  
> > > I believe the output from fprintf is buffered - you probably need to 
> > > flush the stream:
> > > 
> > > fflush(some_pipe);
> >  
> >  or better yet, use g_print().
> >  
> >  
> >  Salut, Sven
> 

Actually, it sounds like he is trying to read the input in his gtk program, after calling gtk_main, with standard libc tools, instead of using gtk_main stdin io callbacks

I couldn't be bothered explain this, besides, I dunno how to use those callbacks :-)





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