Am Mon, 17 Mar 2014 18:13:36 +0000 schrieb "Demetri" <[email protected]>:
> I wrote a small D program. When compiled with DMD, it works fine,
> but neither GDC nor LDC2 can catch exceptions thrown from Phobos
> (proven by GDB). How do I fix this?
>
> Example code:
>
> import std.process;
> void main(){
> try
> {
> spawnProcess(["/dev/null"]);
> }
> catch (Throwable p)
> {
> return;
> }
> }
>
The example works fine here (with exactly the same parameters).
Do you have a recent GDC? 32bit/64bit?
