Quote:
|
Originally Posted by EHaskins
I still haven't been able to find how to get the errors from the EXEs. If anyone can point me in the right direction i wound appreciate it.
|
Capturing data from a console application is a real pain. Fortunately others have already traveled that path and you can see what they have done by looking at the code of just about any open source IDE. I'd advise you to download the source for the
Dev C++ IDE and find the RunAndGetOutput function in Utils.pas. The source code is in Delphi but it should be easily convertable to C# or Visual Basic.