TOnRunCommandEvent¶
Event to get feedback while a command is executing.
Declaration¶
Source position: process.pp line 75
type
TOnRunCommandEvent = procedure(Sender: TObject; Context: TObject;
Status: TRunCommandEventCode;
const Message: string) of object;Arguments¶
| Name | Description |
|---|---|
| Sender | The TProcess instance. |
| Context | Currently unusued, always Nil. |
| Status | Current status. |
| Message | Message of exception in case of an exception. |
Description¶
TOnRunCommandEvent is the event handler prototype for the various events emitted by the TProcess class during the RunCommandLoop call.
See also¶
| Name | Description |
|---|---|
| TProcess | Class to start and control other processes. |
| RunCommandLoop | Execute command and collect output in strings. |