How can I disable the "notify Microsoft" error dialogs when invoking a command from Perl?

I call the program from the command line from my Perl script. When these programs crash, I get a message telling me if I want to notify Microsoft. Since this is an automated system, I wish I could suppress this message and continue with other things in my script. Is it possible?

+5
source share
4 answers

You could probably use the function WerAddExcludedApplicationto stop the WER from hitting when the program crashes. You must undo the hat exception again with WerRemoveExcludedApplication.

+1

Perl, . " ". ?

, . " " / WinQUAL, Perl, , , Perl , Perl , , , Perl . , .

Windows, Windows.

-1

All Articles