Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.

Global sig



// In header: <boost/process/posix.hpp>

unspecified sig;


This property lets you modify the handling of SIGCHLD for this call. It will be reset afterwards.

It can be set to default, by the expression sig.dfl(), set to ignore with sig.ign() or assigned a custom handler. A custom handler must have the type sighandler_tand can be assigned with the following syntax:

sig = handler;
[Warning] Warning

spawn will automatically use sig.ign(), which will override if you pass a custom handler.