[fpc-pascal] Why does RunCommand not produce the correct output?
jean.suzineau at wanadoo.fr
Mon May 1 18:14:15 CEST 2023
I don't have an example at hand but I think you should run a bash
interpreter, something like :
RunCommand('/bin/bash', ['-c', ListCmd], OutData)
but I'm not 100% sure.
There is a good documentation at:
May be you need to split your command in several calls and use
AProcess.Options := [poUsePipes];
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal