Why not just use the facility the OS provides (i.e. launchd) to keep the process running?
In reply to Re: Capture Console Results? by Fletch in thread Capture Console Results? by ecuguru