<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>I don't have an example at hand but I think you should run a bash
      interpreter, something like :</p>
    <p>RunCommand('/bin/bash', ['-c', ListCmd], OutData)</p>
    <p>but I'm not 100% sure.<br>
      There is a good documentation at:<br>
      <a class="moz-txt-link-freetext" href="https://wiki.freepascal.org/Executing_External_Programs">https://wiki.freepascal.org/Executing_External_Programs</a></p>
    <p>May be you need to split your command in several calls and use <br>
    </p>
    <pre><span class="n">AProcess</span><span class="o">.</span><span class="n">Options</span> <span class="o">:=</span> <span class="p">[</span><span class="n">poUsePipes</span><span class="p">]</span><span class="o">;

</span></pre>
  </body>
</html>