[Dlang-internal] Dlang structured exception handling on Windows

KytoDragon kytodragon at e.mail.de
Tue Mar 20 17:26:14 UTC 2018


> EDIT: Ignore everything. It was my IDE that was swallowing 
> exceptions not the compiler.

EDIT 2: Its not my IDE, it is DUB.
dub/generators/build.d, line 532:

------------
auto prg_pid = spawnProcess(exe_path_string ~ run_args);
auto result = prg_pid.wait();
enforce(result == 0, "Program exited with code 
"~to!string(result));
------------

and std.procedd.PID.wait only gets the exit code, ignoring 
anything else.


More information about the Dlang-internal mailing list