summaryrefslogtreecommitdiff
path: root/packages/fcl-process
diff options
context:
space:
mode:
authorondrej <ondrej@3ad0048d-3df7-0310-abae-a5850022a9f2>2020-08-09 16:28:55 +0000
committerondrej <ondrej@3ad0048d-3df7-0310-abae-a5850022a9f2>2020-08-09 16:28:55 +0000
commitfcc64f9d452309666c35cb62fdbb0ac12f7fe84b (patch)
tree45bcf79bdc64f2a7ff98b80084df63785c27abdc /packages/fcl-process
parent1dbbaba9791ea5150bd092ae1d76f56fe2cbfb1a (diff)
downloadfpc-fcc64f9d452309666c35cb62fdbb0ac12f7fe84b.tar.gz
TProcessnamemacro: move FProcessID, FThreadID, FProcessHandle, FThreadHandle to the protected section so that descendants can fill them in overridden Execute procedure
git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@46342 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'packages/fcl-process')
-rw-r--r--packages/fcl-process/src/processbody.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/fcl-process/src/processbody.inc b/packages/fcl-process/src/processbody.inc
index 7dca7b7650..d07a2839a7 100644
--- a/packages/fcl-process/src/processbody.inc
+++ b/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);