Skip to content

Commit f225c44

Browse files
committed
Call Process::InitializeSpawnHelper() ASAP
refs #8196
1 parent 338d0aa commit f225c44

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/cli/daemoncommand.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include "base/defer.hpp"
1212
#include "base/logger.hpp"
1313
#include "base/application.hpp"
14+
#include "base/process.hpp"
1415
#include "base/timer.hpp"
1516
#include "base/utility.hpp"
1617
#include "base/exception.hpp"
@@ -504,6 +505,7 @@ static pid_t StartUnixWorker(const std::vector<std::string>& configs, bool close
504505
_exit(EXIT_FAILURE);
505506
}
506507

508+
Process::InitializeSpawnHelper();
507509
_exit(RunWorker(configs, closeConsoleLog, stderrFile));
508510
} catch (...) {
509511
_exit(EXIT_FAILURE);

0 commit comments

Comments
 (0)