1Test::Smoke::Util::Win3U2sEerrroCroMnotdrei(b3u)ted PerlTeDsotc:u:mSemnotkaet:i:oUntil::Win32ErrorMode(3)
2
3
4

NAME

6       Test::Smoke::Util::Win32ErrorMode - Utility function to switch off the
7       error-popup for the current process.
8

DESCRIPTION

10       This patch was provided in RT-39138
11       <https://rt.cpan.org/Ticket/Display.html?id=39138>. The code has
12       changed quite a bit since then (9 years ago). But it still looked good
13       and sane, so we decided to give it a place in the code.
14
15   lower_error_settings()
16       This calls "kernel32::SetErrorMode" with the flags:
17       "SEM_FAILCRITICALERRORS" and "SEM_NOGPFAULTERRORBOX" to prevent popups
18       during crashes.
19
20       It also calls "Win32::Process::Open()->SetPriorityClass()" as a way to
21       "renice()" the process.
22
24       (c) MMVIII Jan Dubois <jdb@cpan.org> original patch
25
26       (c) MMXVII Abe Timmerman <abeltje@cpan.org> integration into
27       Test::Smoke.
28
29
30
31perl v5.36.0                      2022-07-2T2est::Smoke::Util::Win32ErrorMode(3)
Impressum