Kyle Burton on Mon, 8 Mar 1999 19:24:02 -0500 (EST) |
Where's your souce? Can I have a peek at it? Have you tried return() from the child's main? I'm not sure why you're getting the error, I've never programmed in gtk before, but I've used fork(), sigset() and wait(). help us help you :) kylE ------------------------------------------------------------------------------ "If you don't know what you need Windows NT for, you don't need it." -- Bill Gates mortis@voicenet.com http://www.voicenet.com/~mortis ------------------------------------------------------------------------------ On Mon, 8 Mar 1999, The Miscreant wrote: > Hi, > I was wondering if anyone with some X windows/GTK knowledge could help > me out. I am writing an application using GTK which forks a new process > to read/write to a file in the background. This works fine, however, > when I try to terminate the new process using exit(0) I get an X IO > error. This happens even if I set up a signal handler for SIGCHLD. If I > terminate the background process using abort() I don't get this error, > but it does have the unfortunate side effect of dumping core ! Is there > any way of getting around these problems and getting the child process > to terminate cleanly ? > > TIA, > Gabriel Finch. > > -- > To unsubscribe, send a message with the word 'unsubscribe' in the subject > or body of your message to plug-request@lists.nothinbut.net > > -- To unsubscribe, send a message with the word 'unsubscribe' in the subject or body of your message to plug-request@lists.nothinbut.net
|
|