boost::process::initializers::throw_on_error
// In header: <boost/process/initializers.hpp> class throw_on_error { };
Throws an error if a child process can't be created.
The type of the error thrown is boost::system::system_error.
boost::system::system_error