mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-01 10:40:59 +02:00
* manually added the fix done in main in f35a565f4e
This commit is contained in:
parent
ae0f84fdd5
commit
a740983769
@ -40,7 +40,7 @@ Function TProcessnamemacro.PeekExitStatus : Boolean;
|
||||
begin
|
||||
Result:=GetExitCodeProcess(ProcessHandle,FExitCode) and (FExitCode<>Still_Active);
|
||||
// wait up to 10ms extra till process really done to get rest of input bug #39821
|
||||
if not Result Then
|
||||
if Result Then
|
||||
WaitForSingleObject(FProcessHandle,10);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user