On Sun, Oct 08, 2000 at 05:40:46PM +0530, Delip Rao wrote: > Hi, > I wish to run it in a loop > so that I can do other things in the loop. You might want to consider catching SIGCHLD (which is emitted when the child exits) and do waitpid in the signal handler. -Arun