[EXPLORER] - Close thread handle for startup processes in Run and RunOnce keys. Fixes cmd.exe ghost on first bootcd explorer startup.

svn path=/trunk/; revision=54474
This commit is contained in:
Rafal Harabien 2011-11-22 15:07:27 +00:00
parent 4ce30245de
commit c3dc125256

View file

@ -267,6 +267,7 @@ static int runCmd(LPWSTR cmdline, LPCWSTR dir, BOOL wait, BOOL minimized)
GetExitCodeProcess(info.hProcess, &exit_code);
}
CloseHandle(info.hThread);
CloseHandle(info.hProcess);
return exit_code;