in reply to Finding if a child process has terminated

cog,
I am not sure what you are asking for. Are you looking for a non-blocking wait or are you looking for a way to just detect when the child process ends? If the former, look at perldoc -f waitpid, if the latter, look at adding a SIG handler.

Cheers - L~R

  • Comment on Re: Finding if a child process has terminated