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