mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
fix: compilation error due to rebase error between bitcoin#22937 and ipc/process
This commit is contained in:
parent
de4e7e16b4
commit
aafded67d9
@ -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); }
|
||||||
|
Loading…
Reference in New Issue
Block a user