Console Application Runner

Control the execution of child console application processes
Download

Console Application Runner Ranking & Summary

Advertisement

  • Rating:
  • Publisher Name:
  • Peter Johnson
  • Operating Systems:
  • Windows All
  • File Size:
  • 90 KB

Console Application Runner Tags


Console Application Runner Description

It enables the console application's standard input, standard output and standard error Theses class are designed to be used to control the execution of child console application processes and to redirect input and output where required. The main class - TPJConsoleApp - will run console applications. It enables the console application's standard input, standard output and standard error to be redirected to and from files or pipes. The class 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. Various other properties of the console application can also be configured, including: * Whether the application's process and thread handles can be inherited. * Whether the application is visible or is displayed in a new console window. * The console window's title. * The environment block passed to the application. * The application's maximum execution time. The process can be forcibly terminated if it times-out. * The application's priority. If the class fails to execute the application it sets an ExitCode and an ErrorMessage property. The exit code code of the application is returned via the ExitCode property. Errant applications can be terminated. TPJConsoleApp descends from TPJCustomConsoleApp, which provides all the functionality of the derived class, except that all properties are protected. TPJCustomConsoleApp should be used if you need to create subclasses. Subclasses can make required properties public. TPJPipe is a helper class that assists in working with pipes used for redirecting input / output. This class simplifies reading and writing to pipes. The classes come with numerous demo programs that illustrate how to use the classes.


Console Application Runner Related Software