From e36bbf1b9445ddf332eb3fb77a0997e592827e10 Mon Sep 17 00:00:00 2001 From: anders_k Date: Sun, 5 Oct 2014 22:18:29 +0000 Subject: [PATCH] RunChildProcessRedirected takes a narrow string in the legacy ANSI mode git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6547 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/util.cpp b/Source/util.cpp index 467d30ca..64cd8112 100644 --- a/Source/util.cpp +++ b/Source/util.cpp @@ -955,7 +955,7 @@ switchcp: cp = orgwinconoutcp, mbtwcf = 0, utf8 = false; return childec; } #else -int RunChildProcessRedirected(LPCWSTR cmd) +int RunChildProcessRedirected(LPCSTR cmd) { STARTUPINFO si = { sizeof(STARTUPINFO), }; PROCESS_INFORMATION pi;