[fpc-pascal] Exec

Jonas Maebe jonas.maebe at elis.ugent.be
Fri Jan 5 11:37:02 CET 2007


On 5 jan 2007, at 11:31, Carsten Bager wrote:

> On an Arm/Linux platform I call an external program (to calibrate a  
> touch
> panel) with "Exec". That works OK. I can force the external program to
> return some values to the console. Is there a way I can pick up  
> this output
> and read it from my program?

Not with exec. Use unix.popen instead (or the tprocess class in the  
process unit from the fcl, but that's a lot more heavy weight).


Jonas



More information about the fpc-pascal mailing list