PrevUpHomeNext

Class on_CreateProcess_setup

boost::process::initializers::on_CreateProcess_setup

Synopsis

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


class on_CreateProcess_setup {
public:
  // construct/copy/destruct
  explicit on_CreateProcess_setup(handler_type);
};

Description

Generic initializer to execute any code before CreateProcess is called.

Windows only.

on_CreateProcess_setup public construct/copy/destruct

  1. explicit on_CreateProcess_setup(handler_type handler);

    Constructor.

    handler_type must be a function or functor with this signature: void(executor&)


PrevUpHomeNext