![]() |
Home | Libraries | People | FAQ | More |
boost::process::extend::async_handler
// In header: <boost/process/extend.hpp> struct async_handler : public , public { };
Inheriting this class will tell the launching function, that an event handler shall be invoked when the process exits. This automatically does also inherit require_io_context.
You must add the following function to your implementation:
The callback will be obtained by calling this function on setup and it will be invoked when the process exits.
![]() |
Warning |
---|---|
Cannot be used with boost::process::spawn |