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



hi havoc,
 
> exit() kills Gtk - notice the Gtk shutdown routine that gets called. 
> You need to _exit() in the child.

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..

ps: xap v0.7.2 is out in ten minutes..
    http://home.pages.de/~rasca/xap/

cu
 rasca
-- 
 /#- Internet eMail: thron@gmx.de, FidoNet: 2:2410/304.5@fido -#\
<-#- Internet WWWeb: http://home.pages.de/~rasca/ -------------#->
 \#- please do NOT quote these lines or other useless stuff! --#/



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