ea4dd16e5a
Remove TOO_OLD_WINSDK guard that blocked ConPTY on all Windows builds, including Windows 11. The guard was set whenever the MinGW SDK lacked PROC_THREAD_ATTRIBUTE_PSEUDOCONSOLE, but the fallback definitions provided in the header are correct and CreatePseudoConsole is resolved at runtime via GetProcAddress regardless. Fix environment block construction in startProcess: previously built a partial env block even when the caller only supplied one override var (e.g. COLORFGBG), stripping PATH and all system variables from the child process. Now merges the full current process environment via GetEnvironmentStringsW() and applies caller-supplied vars on top. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>