mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 19:35:42 +00:00
fix(CORE/dbupdate)): allow to pass MySQL password via env (#13404)
* fix(CORE/dbupdate)): allow to pass MySQL password via env + fixed devContainer override file issue + added authserver dry-run in our CI
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <boost/process/environment.hpp>
|
||||
|
||||
namespace Acore
|
||||
{
|
||||
@@ -34,7 +35,7 @@ namespace Acore
|
||||
/// Note that most executables expect it's name as the first argument.
|
||||
AC_COMMON_API int StartProcess(std::string const& executable, std::vector<std::string> const& args,
|
||||
std::string const& logger, std::string input_file = "",
|
||||
bool secure = false);
|
||||
bool secure = false, boost::process::environment env = boost::this_process::environment());
|
||||
|
||||
/// Platform and library independent representation
|
||||
/// of asynchronous process results
|
||||
@@ -58,7 +59,7 @@ namespace Acore
|
||||
/// Note that most executables expect it's name as the first argument.
|
||||
AC_COMMON_API std::shared_ptr<AsyncProcessResult> StartAsyncProcess(std::string executable, std::vector<std::string> args,
|
||||
std::string logger, std::string input_file = "",
|
||||
bool secure = false);
|
||||
bool secure = false, boost::process::environment env = boost::this_process::environment());
|
||||
|
||||
/// Searches for the given executable in the PATH variable
|
||||
/// and returns a non-empty string when it was found.
|
||||
|
||||
Reference in New Issue
Block a user