Re: Get Compile Errors - Command Line

2014-03-16 Thread Bauss
On Sunday, 16 March 2014 at 18:45:30 UTC, Adam D. Ruppe wrote: On Sunday, 16 March 2014 at 13:57:42 UTC, Bauss wrote: Actually I was doing it through C#. I have tried getting the output of the window but it doesn't seem to redirect it. Did you try the startup info there too? Here's a link with

Re: Get Compile Errors - Command Line

2014-03-16 Thread Adam D. Ruppe
On Sunday, 16 March 2014 at 13:57:42 UTC, Bauss wrote: Actually I was doing it through C#. I have tried getting the output of the window but it doesn't seem to redirect it. Did you try the startup info there too? Here's a link with a .net example: http://stackoverflow.com/questions/4291912/p

Re: Get Compile Errors - Command Line

2014-03-16 Thread Bauss
On Saturday, 15 March 2014 at 22:48:52 UTC, Adam D. Ruppe wrote: On Saturday, 15 March 2014 at 19:11:38 UTC, Bauss wrote: Note I am not typing the arguments, but rather starting the process. Skip to the bottom of this message if you are doing it in D and don't care how it is done in the lower

Re: Get Compile Errors - Command Line

2014-03-15 Thread Adam D. Ruppe
On Saturday, 15 March 2014 at 19:11:38 UTC, Bauss wrote: Note I am not typing the arguments, but rather starting the process. Skip to the bottom of this message if you are doing it in D and don't care how it is done in the lower level api. The CreateProcess API call takes a STARTUPINFO argu

Re: Get Compile Errors - Command Line

2014-03-15 Thread Ali Çehreli
On 03/15/2014 12:11 PM, Bauss wrote: > On Saturday, 15 March 2014 at 16:08:06 UTC, Ali Çehreli wrote: >> dmd foo.d 2> error.log > > Doesn't work. What happens? > Note I am not typing the arguments, but rather starting the process. Your first sentence had "compiling manual through command li

Re: Get Compile Errors - Command Line

2014-03-15 Thread Bauss
On Saturday, 15 March 2014 at 16:08:06 UTC, Ali Çehreli wrote: 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

Re: Get Compile Errors - Command Line

2014-03-15 Thread Ali Çehreli
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 f

Re: Get Compile Errors - Command Line

2014-03-15 Thread Bauss
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. An

Re: Get Compile Errors - Command Line

2014-03-14 Thread Chris Williams
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

Re: Get Compile Errors - Command Line

2014-03-14 Thread Bauss
On Friday, 14 March 2014 at 16:58:09 UTC, bearophile wrote: Bauss: When compiling manual through command line is there anyway to get the compiling errors? Something like an error.log file or whatever. Perhaps an argument for the compiler? I checked the documents but didn't seem like there was

Get Compile Errors - Command Line

2014-03-14 Thread Bauss
When compiling manual through command line is there anyway to get the compiling errors? Something like an error.log file or whatever. Perhaps an argument for the compiler? I checked the documents but didn't seem like there was anything. Thanks.

Re: Get Compile Errors - Command Line

2014-03-14 Thread bearophile
Bauss: When compiling manual through command line is there anyway to get the compiling errors? Something like an error.log file or whatever. Perhaps an argument for the compiler? I checked the documents but didn't seem like there was anything. Thanks. Probably you have to use redirect to f