Re: fork(),exeve() and waitpid() in gtk-application?

On Wed, 28 Apr 1999, Rasca Gmelch wrote:
> thx, ben wrote me to use _exit() and now it works nice.
> nevertheless, i don't understand it.. it is the childs which
> calls exit() so it should'nt conflict with the parent cause
> as long i undstand fork() it dupes the proces..!? hmm..

parent and child share file descriptors. :-) That's how pipes work.


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