I launch a console application in a TThread with gSystem->Exec(“appname”).
Is there a way to capture the console output of the application?
I was thinking at this solution:
and monitor changes of “log” file with another thread.
Have you a better solution?