mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-23 04:16:50 +01:00
parent
b4fe2b0d38
commit
5d60b3af04
@ -2921,10 +2921,10 @@ Error OS_Windows::execute(const String &p_path, const List<String> &p_arguments,
|
||||
}
|
||||
|
||||
CloseHandle(pipe[0]); // Close pipe read handle.
|
||||
} else {
|
||||
WaitForSingleObject(pi.pi.hProcess, INFINITE);
|
||||
}
|
||||
|
||||
WaitForSingleObject(pi.pi.hProcess, INFINITE);
|
||||
|
||||
if (r_exitcode) {
|
||||
DWORD ret2;
|
||||
GetExitCodeProcess(pi.pi.hProcess, &ret2);
|
||||
|
Loading…
Reference in New Issue
Block a user