Hah. The change was adding about 4 lines of code:
/* disconnect from the controlling terminal */

if (fork()) {
_exit(0);
}
setsid();


I'm actually remarkably slow.
_________________________
Bitt Faulk