SDL_CreateProcess seems to fail for Win32 GUI programs run without an attached console (such as when opened from explorer)
SDL_GetError() returns DuplicateHandle(): The handle is invalid.
This may be because GetStdHandle(STD_OUTPUT_HANDLE) is nullptr.
This occurs with the pipe_stdio argument both true and false.
OS: Windows 11
SDL Version: 3.4.0
Minimal reproduction:
CMakeLists.txt
main.cpp