Unit 'process' Package
[Overview][Resource strings][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

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

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: Nov 22 2024