// Copyright 2026, Amlal El Mahrouss (amlal@nekernel.org) // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // Official repository: https://git.ocl.nekernel.org/core #include #include #include #include #include namespace asio = ::boost::asio; namespace process = ::boost::process; /// @brief Wrap OCL in ASIO calls. int main() { asio::io_context ioc; process::process proc(ioc, "/usr/bin/g++", {"--version"}, process::v2::process_stdio{{ /* in to default */}, {}, nullptr}); proc.wait(); ocl::asio::run<[]() { (void)0; }>(ioc); return EXIT_SUCCESS; }