Sign in Join

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

Mailing lists / fpc-devel / 2017-10

PIOFile Arm Linux

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Desmond Coertzen

Hi there,

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.

Thanks

Reply by email

Marco van de Voort
to Desmond Coertzen

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.

Reply by email

Desmond Coertzen
to Marco van de Voort

TProcess rocks. I stress tested on a pi3 with large gulps using TProcess.Output.Read

Thank you.

Marco van de Voort wrote 17 lines
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. _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply by email