...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::process::error
// In header: <boost/process/error.hpp> unspecified error;
The error property will set the executor to handle any errors by setting an std::error_code.
std::error_code ec; system("gcc", error(ec));
The following syntax is valid:
error(ec); error=ec;
The overload version is achieved by just passing an object of std::error_code to the function.