Aug. 20, 2026
2:58 p.m.
As far as my tests and patch here goes, what cmd.exe currently does passing the CRT std fds flags to lpReserved2 is going to be a no-op anyway. In fact, I so far don't see any reasonable way at all how a process can force the fd flags for child's std fds.
that's my question too (or IOW, falling back to just inheriting the std handle and let msvcrt initialize std fd from them). I just want to check the /U cmd's option to be fair I don't remember why I added this 20 years ago (and change log doesn't say much why it's needed) -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11710#note_149409