From 78534d1564686703e41d43c6a96ae56bb605afad Mon Sep 17 00:00:00 2001 From: Relintai Date: Thu, 14 Nov 2024 00:56:35 +0100 Subject: [PATCH] Fix windows compile. --- platform/windows/os_windows.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp index 9619d89a8..289447413 100644 --- a/platform/windows/os_windows.cpp +++ b/platform/windows/os_windows.cpp @@ -2982,7 +2982,8 @@ Error OS_Windows::execute(const String &p_path, const List &p_arguments, CloseHandle(pipe[0]); // Cleanup pipe handles. CloseHandle(pipe[1]); } - ERR_FAIL_COND_V_MSG(ret == 0, ERR_CANT_FORK, "Could not create child process: " + String(modstr.ptr())); + + ERR_FAIL_COND_V_MSG(ret == 0, ERR_CANT_FORK, "Could not create child process: " + String((wchar_t *) modstr.ptr())); if (p_blocking) { if (r_pipe) {