diff --git a/std-script/box-win/execute.cpp b/std-script/box-win/execute.cpp --- a/std-script/box-win/execute.cpp +++ b/std-script/box-win/execute.cpp @@ -301,6 +301,9 @@ STARTUPINFO si; PROCESS_INFORMATION pi; int ifsuccess = EXE_RESULT_OK; + + SetErrorMode(SEM_FAILCRITICALERRORS); + SetErrorMode(SEM_NOGPFAULTERRORBOX); ZeroMemory(&si, sizeof(si)); si.cb = sizeof(si);