Selaa lähdekoodia

The PipeStream will close the handle

Martin 1 vuosi sitten
vanhempi
commit
481f0efe94
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      packages/fcl-process/src/processbody.inc

+ 1 - 0
packages/fcl-process/src/processbody.inc

@@ -1052,6 +1052,7 @@ begin
       phtOutput : FStream:=TInputPipeStream.Create(OurHandle);
     end;
     end;
+  FOurHandle:=THandle(INVALID_HANDLE_VALUE);
   Result:=FStream;
 end;