decided not to implement it in server has cui/gui isn't known at the time of child creation, but needed to export whether the handles where inherited or not; decided to expose all the flags for genericity ; could be done otherwise (like using a bit in ConsoleFlags...)
Could we do that in the parent process? `create_startup_info` knows if child will be GUI or CUI.
I think the server's test for console_handle being 1 is a leftover from code existing before Jacek's console rewrite
Yes, it looks like a leftover. It could be a separated commit.