Re: [gtkmm] Spawing a process and being notified of its termination
- From: Chris Vine <chris cvine freeserve co uk>
- To: gtkmm-list gnome org, <Pierre Bacquet anite com>
- Subject: Re: [gtkmm] Spawing a process and being notified of its termination
- Date: Thu, 19 Feb 2004 20:35:46 +0000
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]