Re: fork with gtk



El vie, 19-03-2004 a las 01:48, Davidlohr Bueso escribió:
Hello,
I'm wondering how can I fork a program, and exec* it (the child process
that is), run another program and print its output to a drawing area.
Say a simple ls -la / 

You should use g_spawn_async_with_pipes().

-- 
Germán Poó Caamaño
mailto:gpoo ubiobio cl
http://www.ubiobio.cl/~gpoo/




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