• Vladislav Vaintroub's avatar
    Bug #44775 MTR fails to bootstrap mysqld on Windows in Pushbuild 2. · e3bdffe1
    Vladislav Vaintroub authored
    Suspected reason for the failure is that safe_process.exe already runs in a job that does not allow breakaways. 
    The fix is to use a fallback -  make newly created process the root of the new process group. This allows to kill process together with descendants via GenerateConsoleCtrlEvent (CTRL_BREAK_EVENT, pid)
    e3bdffe1
safe_process_win.cc 10.4 KB