We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
The following D program will launch another program with the general protection fault error dialog disabled.
import std.process; extern(Windows) void SetErrorMode(int); enum : uint { SEM_FAILCRITICALERRORS = 1, SEM_NOGPFAULTERRORBOX = 2 } int main(string[] args) { SetErrorMode(SEM_FAILCRITICALERRORS | SEM_NOGPFAULTERRORBOX); return spawnProcess(args[1..$]).wait(); }