Dep: Switch to boost process instead of old standalone version

This commit is contained in:
Shauren authored and Ovahlord committed 2021-02-19 15:21:15 +01:00
1 parent 0299fa4fe1
commit fbffbbbe14
91 files changed
+63 -4690

No files matched your search

@@ -275,7 +275,7 @@ Optional<std::shared_ptr<ScriptModule>>
path.generic_string().c_str());
}
return boost::none;
return std::nullopt;
}
// Use RAII to release the library on failure.
@@ -368,7 +368,6 @@ static int InvokeCMakeCommand(T&&... args)
{
auto const executable = BuiltInConfig::GetCMakeCommand();
return Trinity::StartProcess(executable, {
executable,
std::forward<T>(args)...
}, "scripts.hotswap");
}
@@ -379,7 +378,6 @@ static std::shared_ptr<Trinity::AsyncProcessResult> InvokeAsyncCMakeCommand(T&&.
{
auto const executable = BuiltInConfig::GetCMakeCommand();
return Trinity::StartAsyncProcess(executable, {
executable,
std::forward<T>(args)...
}, "scripts.hotswap");
}
@@ -1358,7 +1356,7 @@ private:
return;
TC_LOG_INFO("scripts.hotswap", ">> Found outdated CMAKE_INSTALL_PREFIX (\"%s\"), "
"worldserver is currently installed at %s...",
"worldserver is currently installed at %s",
value.generic_string().c_str(), current_path.generic_string().c_str());
}
else