Re: [gtkmm] Spawing a process and being notified of its termination



On Thursday 19 February 2004 13:33, Pierre Bacquet wrote:

[snip]

> and I would like to know how I can be notified of the death of the child
> process.

You would normally do it by handling SIGCHLD and/or waiting on waitpid() (you 
can call waitpid() in the child handler which is a good way of avoiding 
zombies).

Chris.



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