Re: GTK+ fork() and xscreensaver-demo 4.00 execution problem
- From: Jan Struyf <jan struyf cs kuleuven ac be>
- To: GTK App Devel <gtk-app-devel-list gnome org>
- Subject: Re: GTK+ fork() and xscreensaver-demo 4.00 execution problem
- Date: Wed, 20 Feb 2002 09:52:25 +0100 (CET)
During my own tests, GTK+ 1.2.10 crashed and lost connection to the
X server when a fork() was made prior to exec() of a non-existent
object.
did you put _exit(EXIT_FAILURE); after the exec(); call?
otherwise you'd end up with two processes executing your
code if the exec fails i think. or am i wrong?
see: <http://www.gnu.org/manual/glibc-2.2.3/html_chapter/libc_26.html#SEC563>
there's a "Process Creation Example".
jeans.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]