mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
[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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user