summaryrefslogtreecommitdiff
path: root/platform/windows/os_windows.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-03-04 08:16:26 +0100
committerGitHub <noreply@github.com>2020-03-04 08:16:26 +0100
commitf09fd9dc6e70d2ece2e6c5dc795ac4d3524439aa (patch)
tree9a5da3a9cc6a39d1678abb7dae76e880c7574605 /platform/windows/os_windows.cpp
parent80582ffa662bb4dea223003856320ede37365603 (diff)
parent8a88637705ecf58a069b3ea631fee8501fd8e6f4 (diff)
Merge pull request #36777 from kuruk-mm/os_getsystemdir
os: execute parse the command output from utf8
Diffstat (limited to 'platform/windows/os_windows.cpp')
-rw-r--r--platform/windows/os_windows.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp
index 7f4392c624..6757f60a06 100644
--- a/platform/windows/os_windows.cpp
+++ b/platform/windows/os_windows.cpp
@@ -2724,7 +2724,7 @@ Error OS_Windows::execute(const String &p_path, const List<String> &p_arguments,
if (p_pipe_mutex) {
p_pipe_mutex->lock();
}
- (*r_pipe) += buf;
+ (*r_pipe) += String::utf8(buf);
if (p_pipe_mutex) {
p_pipe_mutex->unlock();
}