diff options
author | Shauren <shauren.trinity@gmail.com> | 2024-09-14 14:45:40 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2024-09-14 14:45:40 +0200 |
commit | f270686201c84a07f67a9615fd610d917fc8f802 (patch) | |
tree | 8280249cf0251c58cfcccb11256cd38749346f8b /src/server/database/Updater/DBUpdater.cpp | |
parent | dbe8d1f11e844dc73c9ce971421e1d71c41bea3d (diff) |
Core/Common: Output stdout/stderr from child process without waiting for it to finish
Diffstat (limited to 'src/server/database/Updater/DBUpdater.cpp')
-rw-r--r-- | src/server/database/Updater/DBUpdater.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/database/Updater/DBUpdater.cpp b/src/server/database/Updater/DBUpdater.cpp index 3a75d90d547..ac7be7cb69b 100644 --- a/src/server/database/Updater/DBUpdater.cpp +++ b/src/server/database/Updater/DBUpdater.cpp @@ -423,7 +423,7 @@ void DBUpdater<T>::ApplyFile(DatabaseWorkerPool<T>& pool, std::string const& hos args.emplace_back(database); // Invokes a mysql process which doesn't leak credentials to logs - int const ret = Trinity::StartProcess(DBUpdaterUtil::GetCorrectedMySQLExecutable(), args, + int const ret = Trinity::StartProcess(DBUpdaterUtil::GetCorrectedMySQLExecutable(), std::move(args), "sql.updates", "", true); if (ret != EXIT_SUCCESS) |