[Overview][Classes][Procedures and functions][Index] |
Performs actions needed when the process is terminated.
Source position: asyncprocess.pp line 44
protected procedure TAsyncProcess.HandleProcessTermination( |
AData: PtrInt; |
AReason: TChildExitReason; |
AInfo: dword |
); |
AData |
|
Data for the process notification. |
AReason |
|
Reason(s) for the process notification. |
AInfo |
|
Process exit code. |
HandleProcessTermination is a procedure which performs actions needed when the process is terminated. HandleProcessTermination is assigned using AddProcessEventHandler when Execute is called.
HandleProcessTermination calls UnhookProcessHandle and UnhookPipeHandle to release the handlers in the class instance. HandleProcessTermination signals the OnTerminate event handler when it has been assigned.
|
Executes the process. |
|
|
Removes the process handler assigned for the process. |
|
|
Removes the pipe handler assigned for the process. |
|
|
Event handler signalled when the process is terminated. |
Version 3.2 | Generated 2024-02-25 | Home |