Re: waitpid() does not wait for process exit