[fpc-devel] PIOFile Arm Linux

Marco van de Voort marcov at stack.nl
Fri Oct 13 14:22:09 CEST 2017


In our previous episode, Desmond Coertzen said:
> 
> Anyone knows which unit I need to get to PIOFILE and related functions for
> popen, pclose etc to do piping? It's a libc thing i'm looking for, but on
> arm linux (raspbian) with fpc from package manager.

Similar functions for handle based I/O exist in unit Unix.

See e.g. https://www.freepascal.org/docs-html/rtl/unix/popen.html

If it is for output capturing of existing binaries, the crossplatform
TProcess class is usually used.



More information about the fpc-devel mailing list