Get Compile Errors - Command Line

Ali Çehreli acehreli at yahoo.com
Sat Mar 15 09:08:04 PDT 2014


On 03/15/2014 03:04 AM, Bauss wrote:

 > On Saturday, 15 March 2014 at 02:05:26 UTC, Chris Williams wrote:
 >> On Friday, 14 March 2014 at 17:10:46 UTC, Bauss wrote:
 >>> I'm using dmd.exe and not cmd.exe
 >>
 >> dmd.exe doesn't have a GUI. You're probably running dmd.exe inside
 >> cmd.exe.
 >>
 >> dmd foo.d > mylog.txt
 >
 > dmd.exe is a console application.

And every console supports what you need.

 > And I running dmd.exe with arguments
 > not cmd.exe with arguments,

Sorry but that has nothing to do with the solution that has already been 
proposed.

 > just wanted to know if there perhaps was an
 > alternative than using cmd.exe.

All you need to do is to try the solution. :) Once again:

   dmd foo.d 2> error.log

Ali



More information about the Digitalmars-d-learn mailing list