boost::process::v2::execute — Run a process and wait for it to complete.
// In header: <boost/process/v2/execute.hpp> template<typename Executor> int execute(basic_process< Executor > proc);
Parameters:
proc
The process to be run.
Template Parameters:
Executor
The asio executor of the process handle
Returns:
int The exit code of the process
Throws: