winpty
winpty copied to clipboard
Reset error mode in winpty-agent
If winpty is used by a process configured error mode to not display the critical-error-handler message box (SetErrorMode(SEM_FAILCRITICALERRORS)), a child process spawned by winpty-agent.exe will inherit its parent process error mode and critical errors won't be displayed to a user.
How about resetting error mode (SetErrorMode(0)) in winpty-agent.exe?