summaryrefslogtreecommitdiff
path: root/gpg_wrapper.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2010-08-31 01:49:11 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2010-08-31 01:49:11 +0300
commitc5cc46ceb67eb92ebf1ca1094e48d5938d5f7d1a (patch)
treefb2f00da2b41049c6c36f2c50583c069f539280b /gpg_wrapper.cpp
parent68706e0c527bc50ada54e3b93a88c5ee3e33b8e2 (diff)
modified: gpg_wrapper.cpp
Diffstat (limited to 'gpg_wrapper.cpp')
-rw-r--r--gpg_wrapper.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/gpg_wrapper.cpp b/gpg_wrapper.cpp
index e1910af..db7d134 100644
--- a/gpg_wrapper.cpp
+++ b/gpg_wrapper.cpp
@@ -88,15 +88,8 @@ pxResult pxExecute(wstring *acommandline, char *ainput, string *aoutput, LPDWORD
debuglog<<"in: "<<commandline<<"\n";
-/* TCHAR chNewEnv[128];
- LPTSTR lpszCurrentVariable;
- lpszCurrentVariable = (LPTSTR)chNewEnv;
- _tcscpy(lpszCurrentVariable, _T("LANGUAGE=0")); */
-
-
setlocale( LC_ALL, "C" );
-// success = CreateProcess(NULL, (TCHAR*)commandline.c_str(), NULL, NULL, TRUE, CREATE_NEW_CONSOLE, (LPVOID)chNewEnv, NULL, &sinfo, &pri);
success = CreateProcess(NULL, (TCHAR*)commandline.c_str(), NULL, NULL, TRUE, CREATE_NEW_CONSOLE, NULL, NULL, &sinfo, &pri);
if (!success)