[Overview][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'process' (#fcl)

TOnRunCommandEvent

Event to get feedback while a command is executing

Declaration

Source position: process.pp line 47

type 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

TProcess

  

Class to start and control other processes.

RunCommandLoop

  

Execute command and collect output in strings


Documentation generated on: Jun 22 2020