Sign in Join
FPDoc Onlineexperiment

TOnRunCommandEvent procedure type

In unit Process

Event to get feedback while a command is executing.

Declaration

pascal
TOnRunCommandEvent = procedure(Sender: TObject; Context: TObject; 
 Status: TRunCommandEventCode; 
 const Message: string) of object

Arguments

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

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