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

Re: fork()/exec() dumping



On Wed, Jun 23, 1999 at 08:54:24AM +0200, Erik Mouw wrote:
...
> The reason why in the original _exit() was called instead of exit(), is
> that exit() calls all the installed atexit() handlers, including the one
> that shuts down the X connection with the X display. So if the child calls
> exit(), it shuts down the parents X connection and the parent will no
> longer be able to display.

I think this particular explanation needs to be documented somewhere
(e.g., in a FAQ!).  Otherwise, if this isn't someone's problem with
using fork(), exec(), etc., then they probably just need to check a
Unix systems programming book for what they're doing wrong.

regards,
--andy



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