Skip to content

Commit

Permalink
Fix windows compile.
Browse files Browse the repository at this point in the history
  • Loading branch information
Relintai committed Nov 13, 2024
1 parent 210287a commit 78534d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion platform/windows/os_windows.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2982,7 +2982,8 @@ Error OS_Windows::execute(const String &p_path, const List<String> &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) {
Expand Down

0 comments on commit 78534d1

Please sign in to comment.