@@ -444,9 +444,9 @@ static int execAppInternal(const char *appPath, const char *const *args, std::st
444444 }
445445
446446#if defined(CPP_UTILITIES_BOOST_PROCESS)
447- auto path = enableSearchPath ? boost::process::search_path (appPath) : boost::process::filesystem::path (appPath);
447+ auto path = enableSearchPath ? boost::process::v1:: search_path (appPath) : boost::process::v1 ::filesystem::path (appPath);
448448 auto ctx = boost::asio::io_context ();
449- auto group = boost::process::group ();
449+ auto group = boost::process::v1:: group ();
450450 auto argsAsVector =
451451#if defined(PLATFORM_WINDOWS)
452452 std::vector<std::wstring>();
@@ -467,12 +467,12 @@ static int execAppInternal(const char *appPath, const char *const *args, std::st
467467 }
468468 }
469469 auto outputBuffer = boost::asio::streambuf (), errorBuffer = boost::asio::streambuf ();
470- auto env = boost::process::environment (boost::this_process::environment ());
470+ auto env = boost::process::v1:: environment (boost::this_process::environment ());
471471 if (!newProfilingPath.empty ()) {
472472 env[" LLVM_PROFILE_FILE" ] = newProfilingPath;
473473 }
474474 auto child
475- = boost::process::child (ctx, group, path, argsAsVector, env, boost::process::std_out > outputBuffer, boost::process::std_err > errorBuffer);
475+ = boost::process::v1:: child (ctx, group, path, argsAsVector, env, boost::process::v1:: std_out > outputBuffer, boost::process::v1 ::std_err > errorBuffer);
476476 if (timeout > 0 ) {
477477 ctx.run_for (std::chrono::milliseconds (timeout));
478478 } else {
0 commit comments