fix: compilation error due to rebase error between bitcoin#22937 and ipc/process

This commit is contained in:
Kittywhiskers Van Gogh 2024-08-10 14:45:45 +00:00 committed by Konstantin Akimov
parent de4e7e16b4
commit aafded67d9
No known key found for this signature in database
GPG Key ID: 2176C4A5D01EA524

View File

@ -30,8 +30,8 @@ public:
return mp::SpawnProcess(pid, [&](int fd) { return mp::SpawnProcess(pid, [&](int fd) {
fs::path path = argv0_path; fs::path path = argv0_path;
path.remove_filename(); path.remove_filename();
path.append(new_exe_name); path /= fs::PathFromString(new_exe_name);
return std::vector<std::string>{path.string(), "-ipcfd", strprintf("%i", fd)}; return std::vector<std::string>{fs::PathToString(path), "-ipcfd", strprintf("%i", fd)};
}); });
} }
int waitSpawned(int pid) override { return mp::WaitProcess(pid); } int waitSpawned(int pid) override { return mp::WaitProcess(pid); }