Class TProcessLineTalk

Unit

Declaration

type TProcessLineTalk = class(TComponent)

Description

This is a subclass of TProcess that allows to easy "talk" with executed process by pipes (read process stdout/stderr, write to process stdin) on a line-by-line basis.

If symbol HAS_PROCESS is not defined, this defines a junky implementation of TProcessLineTalk class that can't do anything and raises exception when you try to execute a process.

Hierarchy

  • TComponent
  • TProcessLineTalk

Overview

Methods

Public procedure Execute;
Public procedure WriteLine(const S: string);
Public function ReadLine: string;
Public constructor Create(AOwner: TComponent); override;
Public destructor Destroy; override;

Properties

Published property CommandLine: string read FCommandLine write FCommandLine;
Published property Executable: string read FExecutable write FExecutable;
Published property Parameters: TStrings read FParameters;

Description

Methods

Public procedure Execute;
 
Public procedure WriteLine(const S: string);
 
Public function ReadLine: string;
 
Public constructor Create(AOwner: TComponent); override;
 
Public destructor Destroy; override;
 

Properties

Published property CommandLine: string read FCommandLine write FCommandLine;
 
Published property Executable: string read FExecutable write FExecutable;
 
Published property Parameters: TStrings read FParameters;
 

Generated by PasDoc 0.15.0.