in reply to How the parent process knows that all its child process has finished execution?

See wait and waitpid. You can also trap the hangup signal HUP, see perlipc and %SIG for more details.

And perhaps Parallel::ForkManager can ease your task.

  • Comment on Re: How the parent process knows that all its child process has finished execution?
  • Download Code