E.g.:

import std.process;

void main()
{
    auto res = shell("dmd bla.d");
}

where bla.d doesn't exist. This will throw an exception, but even if I
caught the exception I will still loose the error message. Is there
any way I could grab the error message? In this case it would be:

"std.exception.ErrnoException@std\process.d(356):  (No error)"

Okay that's a pretty useless error as it is, but other errors might be
more informative and I'd like to grab them.

Reply via email to