Hi Hackers: Excuse for my badly English. which is the best form to wait the finish of execution of a child. My idea is: pid_t chilpid; while(childpid != wait(&status)) ; Any aid to obtain the best way is very welcome. PD. Excuse my ignorance and I hope they can guide me. Bye and thanxs ;)