That doesn't seem to be doing it. The child process still exits as soon as it unloads the parent job from launchd. On Tue, Oct 6, 2009 at 7:09 PM, Dave Keck <davekeck at gmail.com> wrote: > Calling setpgrp() from your child should prevent launchd from killing it. >