[fpc-pascal]Filter

Michael Van Canneyt michael.vancanneyt at wisa.be
Fri Sep 21 13:57:35 CEST 2001


On Fri, 21 Sep 2001, Andreas K. Foerster wrote:

> Hello,
>
> how can I start an external program and redirect its standard output
> so that I can use it from within my program.

On Linux, you can use the POpen() call. This will run a program and redirect
the output to a standard pascal file.

On windows this is more hard, but can be done as well (see the TPRocess object
in the FCL).

On DOS it is impossible.

Michael.





More information about the fpc-pascal mailing list