in reply to Re: Re: How do you wait for a process to end ?
in thread How do you wait for a process to end ?

You can just keep a running count of your current children - increment on each successful fork, and decrement on a successful call to \&reaper.
  • Comment on Re: Re: Re: How do you wait for a process to end ?