The parent might be sending a HUP signal to the child. Try masking that signal (signal 1, BTW) and see if that solves the problem. (I'm guessing this because it's a common issue on Unix machines when a long-term process's shell dies. There's a program called ``nohup'' that that you can use to prevent it from getting this signal.)
_________________________
Bitt Faulk