1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-21 00:39:58 +00:00

Warn future me off wasting their time again

This commit is contained in:
AnyOldName3 2024-04-16 01:14:20 +01:00
parent a7021bf9cc
commit 61364c874f

View File

@ -61,6 +61,10 @@ namespace Debug
bool outRedirected = isRedirected(STD_OUTPUT_HANDLE);
bool errRedirected = isRedirected(STD_ERROR_HANDLE);
// Note: Do not spend three days reinvestigating this PowerShell bug thinking its our bug.
// https://gitlab.com/OpenMW/openmw/-/merge_requests/408#note_447467393
// The handles look valid, but GetFinalPathNameByHandleA can't tell what files they go to and writing to them doesn't work.
if (AttachConsole(ATTACH_PARENT_PROCESS))
{
fflush(stdout);