Exec[Wait] now sets the CREATE_DEFAULT_ERROR_MODE flag when creating a new process
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6579 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
c853ef31a0
commit
cd4363aca8
2 changed files with 3 additions and 1 deletions
|
@ -12,6 +12,8 @@ Released on ?, 201?
|
|||
|
||||
\S2{} Minor Changes
|
||||
|
||||
\b Exec[Wait] sets the CREATE_DEFAULT_ERROR_MODE flag when creating a process
|
||||
|
||||
\b Fixed minor issues in the Pascal NSIS plug-in SDK and removed the extrap global variable
|
||||
|
||||
\S1{v3.0b2-cl} Changelog
|
||||
|
|
|
@ -61,7 +61,7 @@ HANDLE NSISCALL myCreateProcess(TCHAR *cmd)
|
|||
PROCESS_INFORMATION ProcInfo;
|
||||
static STARTUPINFO StartUp;
|
||||
StartUp.cb=sizeof(StartUp);
|
||||
if (!CreateProcess(NULL, cmd, NULL, NULL, FALSE, 0, NULL, NULL, &StartUp, &ProcInfo))
|
||||
if (!CreateProcess(NULL, cmd, NULL, NULL, FALSE, CREATE_DEFAULT_ERROR_MODE, NULL, NULL, &StartUp, &ProcInfo))
|
||||
return NULL;
|
||||
CloseHandle(ProcInfo.hThread);
|
||||
return ProcInfo.hProcess;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue