When I compile and run my Linux console program it opens the window shown. I would like to capture the contents of this window but cannot find a way to do this. Can anyone suggest how this can be done? I tried ReadConoleData() but it says there is no data.
The only function I can find is the ReadProgramError() but this is only useful if you use RunProgram(). I am using the IDE and Compile with Debugger. I would like to capture this data but not sure how to do it?