boost::process::throw_on_error
// In header: <boost/process/error.hpp> throw_on_error;
The throw_on_error property will enable the exception when launching a process. It is unnecessary by default, but may be used, when an additional error_code is provided.