how can I be notified when asynchronous process is over ?



Hello list :)

I'm writing a Gtk2 app which has to launch external processes. In order to do that I use the Glib function "g_spawn_async".

I wonder how I can be notified when it is finished. I was thinking about being aware of SIGCHILD but I don't know how to do that.

If someone could tell me what is the best way to do that, it would be great.

Thanks

Alexis.




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