Boost logo

Boost Users :

From: Stian Zeljko Vrba (vrba_at_[hidden])
Date: 2019-06-05 05:32:39


Hi,


  * We are trying to use boost process to have an always running process spawn child processes in a fire and forget manner (don't wait or block on the process that was just spawned).

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



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net