[fpc-pascal]Filter

Peter Vreman peter at freepascal.org
Sun Sep 23 19:02:21 CEST 2001


At 12:03 21-9-01, you wrote:
>Hello,
>
>how can I start an external program and redirect its standard output
>so that I can use it from within my program.
>
>I want to write a frontend.

There is a redir unit available in the tests/ subdir of the main fpc 
branch. It works under dos,linux and win32. The same unit is used in the 
ide for redirecting the output of tools like grep.


Peter





More information about the fpc-pascal mailing list