Преглед на файлове

merge r46342 from trunk

Revision: 46342
Author: ondrej
Date: Sonntag, 9. August 2020 18:28:55
Message:
TProcessnamemacro: move FProcessID, FThreadID, FProcessHandle, FThreadHandle to the protected section so that descendants can fill them in overridden Execute procedure

git-svn-id: branches/fixes_3_2@46344 -
ondrej преди 5 години
родител
ревизия
7e4ee351f8
променени са 1 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 4 4
      packages/fcl-process/src/processbody.inc

+ 4 - 4
packages/fcl-process/src/processbody.inc

@@ -48,10 +48,6 @@ Type
     FProcessOptions : TProcessOptions;
     FRunCommandSleepTime: Integer;
     FStartupOptions : TStartupOptions;
-    FProcessID : Integer;
-    FThreadID : Integer;
-    FProcessHandle : Thandle;
-    FThreadHandle : Thandle;
     FFillAttribute : Cardinal;
     FApplicationName : TProcessString;
     FConsoleTitle : TProcessString;
@@ -103,6 +99,10 @@ Type
     FInputStream  : TOutputPipeStream;
     FOutputStream : TInputPipeStream;
     FStderrStream : TInputPipeStream;
+    FProcessID : Integer;
+    FThreadID : Integer;
+    FProcessHandle : Thandle;
+    FThreadHandle : Thandle;
     procedure CloseProcessHandles; virtual;
     Procedure CreateStreams(InHandle,OutHandle,ErrHandle : Longint);virtual;
     procedure FreeStream(var AStream: THandleStream);