Re: Execute an external program and progress bar



On Mon, 2003-04-28 at 08:04, Biswapesh Chattopadhyay wrote:
> Use g_execute_* to run the program, then create an IOChannel on the
> output stream and add it to the main loop.
> 
> Alternatively, use idle timeout to select() or read() the output and
> update the status bar accordingly.
> 
> You can check out anjuta's code to see how we do it (src/launcher.c)

Thanks, I will look into this. However I think I won't use it this time.
My little process is not worth the hassle. I probably just show an
hourglass, this is pretty too now with XCURSOR.

Regards

-- 
Gérard Milmeister
Tannenrauchstrasse 35
8038 Zürich
gemi bluewin ch



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