Re: The problem with the fork() in gtk
- From: Paul Davis <pbd Op Net>
- To: "Hong, SeokGi" <babak palmpalm co kr>
- Cc: gtk-list gnome org
- Subject: Re: The problem with the fork() in gtk
- Date: Thu, 13 Dec 2001 00:30:59 -0500
>The FAQ at www.gtk.org is that gtk application fork "ls" program. but in my c
>ase
>
>Not "ls" program but gtk-application.
did you understand what the FAQ said? its nothing to do with what is
fork+exec'ed. its caused by what happens to the file descriptors that
are initially shared between the parent and child processes. if the
child calls exit() without a successful call to exec(2) or its
cousins, then you will see the error you reported.
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]