TProcessnamemacro: move FProcessID, FThreadID, FProcessHandle, FThreadHandle to the protected section so that descendants can fill them in overridden Execute procedure

git-svn-id: trunk@46342 -
This commit is contained in:
ondrej 2020-08-09 16:28:55 +00:00
parent 2fd6661a9d
commit 4f5881531b

View File

@ -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);