Console Application Runner Classes

   
Release: 3.1.0
Date: 11 August 2014
Delphi Compatibility:
D1 D2 D3 D4 D5 D6 D7 D2005 D2006 D2007 D2009 D2010 DXE DXE2 DXE3 DXE4
Red LED Red LED Red LED Red LED Red LED Red LED Green LED Green LED Green LED Green LED Green LED Green LED Green LED Green LED Green LED Green LED

Overview

The Console Application Runner classes are designed to be used to control the execution of child console application processes. There are two classes: a class named TPJCustomConsoleApp that is provided a base class for user-defined sub-classes, and TPJConsoleApp that is used to provide a general way to run and manipulate console applications. Both classes are provided in a single unit, PJConsoleApp.

The classes enable the console application's standard input, standard output and standard error to be redirected to and from files or pipes. They can also timeslice the running of the console application to enable the calling application to continue processing and to enable redirected piped output to be processed.

Where are TPJPipe, TPJPipeFilters & TPJFileHandle?
These classes were removed from v3.0. They are now available in the I/O Utility Classes project.

Demo Programs

The classes come with numerous demo programs that illustrate how to use the them. Each demo is related to an example documented in the Examples section of the project documentation. There is a VCL version of each demo and a few demos also have FireMonkey 2 versions as well.

Some of the demos use classes from the I/O Utility Classes project, so you will need to download that project to compile all the demos.

Full details of how to build the demo projects are provided in the a read-me file.

Documentation

The project is documented online.

There is also an FAQ .

There is no help file.

Feedback & Queries

If you find any bugs or want to suggest a new feature please report them using the Issue Tracker. If you have created a bug fix or have implemented a new feature please attach a zip file containing your source code.

To add an item to the issue tracker click the New issue link, select the appropriate template from the Template drop down list, enter a summary and a description that gives as much information as possible the select the Project-consoleapp label.

Should you have any queries about using the components please read the documentation and FAQ. If you can't find an answer there then contact me.