ad@cis.brown.edu (Arif Diwan) (05/25/90)
I have a C program which can be very easily be modified to what you want to do. It is a daemon setup program which can fork a child and waits for it to expire. You can just add the line to restart your process in the interrupt handler for SIGCHLD. I will put that program for anonymous ftp from netlab.cis.brown.edu sometime today.