Sign in Join
FPDoc Onlineexperiment

TAsyncProcess.Execute procedure

Member of TAsyncProcesspublicIn unit AsyncProcess

Executes the process.

Declaration

pascal
procedure Execute; override

Description

Execute is an overridden procedure used to execute the process. Execute calls the inherited Execute method on entry.

Execute uses values in Options to determine if a process or a pipe handler is needed for the class instance. When Options includes the value poUsePipes, AddPipeEventHandler is called using HandlePipeInput as the pipe handler routine. Set the values in Options prior to calling the Execute method.

Execute calls AddProcessEventHandler using HandleProcessTermination as the process handler routine.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.