<div dir="ltr">TProcess rocks. I stress tested on a pi3 with large gulps using TProcess.Output.Read<div><br></div><div>Thank you.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 13, 2017 at 2:22 PM, Marco van de Voort <span dir="ltr"><<a href="mailto:marcov@stack.nl" target="_blank">marcov@stack.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">In our previous episode, Desmond Coertzen said:<br>
><br>
> Anyone knows which unit I need to get to PIOFILE and related functions for<br>
> popen, pclose etc to do piping? It's a libc thing i'm looking for, but on<br>
> arm linux (raspbian) with fpc from package manager.<br>
<br>
</span>Similar functions for handle based I/O exist in unit Unix.<br>
<br>
See e.g. <a href="https://www.freepascal.org/docs-html/rtl/unix/popen.html" rel="noreferrer" target="_blank">https://www.freepascal.org/<wbr>docs-html/rtl/unix/popen.html</a><br>
<br>
If it is for output capturing of existing binaries, the crossplatform<br>
TProcess class is usually used.<br>
______________________________<wbr>_________________<br>
fpc-devel maillist  -  <a href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel" rel="noreferrer" target="_blank">http://lists.freepascal.org/<wbr>cgi-bin/mailman/listinfo/fpc-<wbr>devel</a><br>
</blockquote></div><br></div>