[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: fork-exec causes core-dump



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