Hi,

 

 

In this case, the simplest solution is to ignore the SIGCHLD signal: https://stackoverflow.com/questions/16920887/zombie-process-sigchld-exit-in-unix

 

As in

 

#include <signal.h>

signal(SIGCHLD, SIG_IGN);

  • Stian