فهرست منبع

The PipeStream will close the handle

Martin 2 سال پیش
والد
کامیت
481f0efe94
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  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);
       phtOutput : FStream:=TInputPipeStream.Create(OurHandle);
     end;
     end;
     end;
     end;
+  FOurHandle:=THandle(INVALID_HANDLE_VALUE);
   Result:=FStream;
   Result:=FStream;
 end;
 end;