Re: GTK+ fork() and xscreensaver-demo 4.00 execution problem



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]