Files
lovecraft ea4dd16e5a Windows: fix ConPTY availability and environment inheritance
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>
2026-05-06 11:10:33 +02:00
..
2019-09-12 19:39:17 +03:00
2019-03-17 00:39:36 +03:00
2020-05-07 09:25:12 +00:00
2019-09-13 12:30:39 +03:00