From: Eric Christopherson Date: 2010-01-21T10:39:24+09:00 Subject: Re: extending ruby: ruby_init() instacloses process On Wed, Jan 20, 2010 at 7:15 PM, Nilbert Nullingsworth wrote: > Actually, placing ruby_init() anywhere in the file closes the program > instantly. Replacing the try/catch block above with this one: > > try { >        printf("ARGGGGGGGGGGGGGGGGGG"); > >        printf("asdf"); > >        ruby_init(); > } catch (char* e) { >        printf("%s", e); > } > > and running the program via command line does not print anything. > What the heck. Anyone have any idea why the bloody blazes this is > happening? > > No idea, but I got it to run smoothly when compiled with MinGW (for what little it's worth).