This new method supersedes the previous one using TDosCommand. It's been tested and it works with Delphi 2010 and Delphi XE, so it's worth to give it a try. It's really easy to use and I'm preparing a little tool with it.procedure CaptureConsoleOutput(const ACommand, AParameters: String; AMemo: ...
More...