Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2005-02

execute program with outpu to variable

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marc Santhoff

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.

TIA,
Marc