StackOverlfow posting about how to read and process the console output of unknown application in real-time (opens in new tab):

https://stackoverflow.com/questions/35811823/how-to-read-command-line-output-of-cygwin-program-in-real-time-in-delphi