...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::process::v1::async_system
// In header: <boost/process/v1/async_system.hpp> template<typename ExitHandler, typename ... Args> unspecified async_system(boost::asio::io_context & ios, ExitHandler && exit_handler, Args &&... args);
This function provides an asynchronous interface to process launching.
It uses the same properties and parameters as the other launching function, but is similar to the asynchronous functions in boost.asio
It uses asio::async_result to determine the return value (from the second parameter, exit_handler
).
Note | |
---|---|
This function does not allow custom error handling, since those are done through the |
Parameters: |
|