Deactivate windows MessageBox dialog on exception

Andre Pany andre at
Wed Aug 28 12:19:54 UTC 2019


I call another process using function pipeShell and Redirect.all.

In case the child process(also D application) throws an exception 
(str to int conversion exception), the child process shows a 
message box on windows.

I found the source code within DRuntime but I do not see a way to 
hide this MessageBox.

I would like to have the exception text available in stdout or 
stderr of the pipe.
Why the exception isn't just written to the pipe?

(I do not want to implement a catch all in the source code of the 
child process).

The actual 2 D applications causing the dialog on windows:

Kind regards

More information about the Digitalmars-d-learn mailing list