[fpc-pascal] execute program with outpu to variable

Michael.VanCanneyt at Wisa.be Michael.VanCanneyt at Wisa.be
Sun Feb 20 22:18:01 CET 2005



On Sun, 20 Feb 2005, Marc Santhoff wrote:

> Hi,
> 
> I cannot find it in the docs:
> 
> I want to run a program from my fpc program and pipe the output into a
> string variable. How can this be done?
> 
> Before I forget to mention: Platform is FreeBSD.

Popen is your call. see the unix unit.

Michael.




More information about the fpc-pascal mailing list