mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 19:49:12 +02:00
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:
parent
2fd6661a9d
commit
4f5881531b
@ -48,10 +48,6 @@ Type
|
|||||||
FProcessOptions : TProcessOptions;
|
FProcessOptions : TProcessOptions;
|
||||||
FRunCommandSleepTime: Integer;
|
FRunCommandSleepTime: Integer;
|
||||||
FStartupOptions : TStartupOptions;
|
FStartupOptions : TStartupOptions;
|
||||||
FProcessID : Integer;
|
|
||||||
FThreadID : Integer;
|
|
||||||
FProcessHandle : Thandle;
|
|
||||||
FThreadHandle : Thandle;
|
|
||||||
FFillAttribute : Cardinal;
|
FFillAttribute : Cardinal;
|
||||||
FApplicationName : TProcessString;
|
FApplicationName : TProcessString;
|
||||||
FConsoleTitle : TProcessString;
|
FConsoleTitle : TProcessString;
|
||||||
@ -103,6 +99,10 @@ Type
|
|||||||
FInputStream : TOutputPipeStream;
|
FInputStream : TOutputPipeStream;
|
||||||
FOutputStream : TInputPipeStream;
|
FOutputStream : TInputPipeStream;
|
||||||
FStderrStream : TInputPipeStream;
|
FStderrStream : TInputPipeStream;
|
||||||
|
FProcessID : Integer;
|
||||||
|
FThreadID : Integer;
|
||||||
|
FProcessHandle : Thandle;
|
||||||
|
FThreadHandle : Thandle;
|
||||||
procedure CloseProcessHandles; virtual;
|
procedure CloseProcessHandles; virtual;
|
||||||
Procedure CreateStreams(InHandle,OutHandle,ErrHandle : Longint);virtual;
|
Procedure CreateStreams(InHandle,OutHandle,ErrHandle : Longint);virtual;
|
||||||
procedure FreeStream(var AStream: THandleStream);
|
procedure FreeStream(var AStream: THandleStream);
|
||||||
|
Loading…
Reference in New Issue
Block a user