diff --git a/UnleashedRecomp/os/linux/process_linux.cpp b/UnleashedRecomp/os/linux/process_linux.cpp index 3cd37835..c7de2ac6 100644 --- a/UnleashedRecomp/os/linux/process_linux.cpp +++ b/UnleashedRecomp/os/linux/process_linux.cpp @@ -29,10 +29,9 @@ std::filesystem::path os::process::GetWorkingDirectory() } } -// TODO bool os::process::SetWorkingDirectory(const std::filesystem::path& path) { - return chdir(path.c_str()) == 0; + return chdir(path.u8string().c_str()) == 0; } bool os::process::StartProcess(const std::filesystem::path& path, const std::vector& args, std::filesystem::path work)