Re: X-connection after a fork
- From: Jamie Guinan <guinan bluebutton com>
- To: Conrad Steenberg <conrad srl caltech edu>
- Cc: gtk-list gnome org
- Subject: Re: X-connection after a fork
- Date: Thu, 5 Oct 2000 02:44:17 -0400 (EDT)
On Thu, 5 Oct 2000, Jamie Guinan wrote:
> ...
>
> /* Our usual callback function */
> void callback( GtkWidget *widget,
> gpointer data )
> {
> pid_t pid;
> int open_max;
Doh, left out "int i" right here.
> g_print ("Hello again - %s was pressed\n", (char *) data);
And if your exec() fails, use _exit() like someone else
suggested. Hrm,
-Jamie
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]