Skip to content

Commit

Permalink
fix: compilation error due to rebase error between bitcoin#22937 and …
Browse files Browse the repository at this point in the history
…ipc/process
  • Loading branch information
kwvg authored and knst committed Aug 12, 2024
1 parent de4e7e1 commit aafded6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ipc/process.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ class ProcessImpl : public Process
return mp::SpawnProcess(pid, [&](int fd) {
fs::path path = argv0_path;
path.remove_filename();
path.append(new_exe_name);
return std::vector<std::string>{path.string(), "-ipcfd", strprintf("%i", fd)};
path /= fs::PathFromString(new_exe_name);
return std::vector<std::string>{fs::PathToString(path), "-ipcfd", strprintf("%i", fd)};
});
}
int waitSpawned(int pid) override { return mp::WaitProcess(pid); }
Expand Down

0 comments on commit aafded6

Please sign in to comment.