boost::process::initializers::on_CreateProcess_setup
// In header: <boost/process/initializers.hpp> class on_CreateProcess_setup { public: // construct/copy/destruct explicit on_CreateProcess_setup(handler_type); };
Generic initializer to execute any code before CreateProcess is called.
CreateProcess
Windows only.
on_CreateProcess_setup
explicit on_CreateProcess_setup(handler_type handler);
Constructor.
handler_type must be a function or functor with this signature: void(executor&)
handler_type
void(executor&)