Get Compile Errors - Command Line
Adam D. Ruppe
destructionator at gmail.com
Sun Mar 16 11:45:29 PDT 2014
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/process-start-how-to-get-the-output
Notice that the answer itself only redirects the output, but dmd
I believe uses the error stream for it. The comments discuss it:
add to the ctor:
RedirectStandardError = true,
and read from proc.StandardError afterward.
More information about the Digitalmars-d-learn
mailing list