winpty icon indicating copy to clipboard operation
winpty copied to clipboard

Reset error mode in winpty-agent

Open segrey opened this issue 6 years ago • 0 comments

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?

segrey avatar Mar 20 '19 11:03 segrey