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
- TObject
- TPersistent
- TComponent
- TProcessLineTalk
Overview
Methods
procedure Execute; |
|
procedure WriteLine(const S: string); |
|
function ReadLine: string; |
|
constructor Create(AOwner: TComponent); override; |
|
destructor Destroy; override; |
Properties
property CommandLine: string read FCommandLine write FCommandLine; |
|
property Executable: string read FExecutable write FExecutable; |
|
property Parameters: TStrings read FParameters; |
Description
Methods
procedure Execute; |
|
procedure WriteLine(const S: string); |
|
function ReadLine: string; |
|
constructor Create(AOwner: TComponent); override; |
|
destructor Destroy; override; |
|
Properties
property CommandLine: string read FCommandLine write FCommandLine; |
|
property Executable: string read FExecutable write FExecutable; |
|
property Parameters: TStrings read FParameters; |
|
Generated by PasDoc 0.16.0.