From: Alistair Leslie-Hughes Subject: Re: shell32: Use CREATE_NEW_CONSOLE when SEE_MASK_NOCONSOLE is omitted. Message-Id: <534F8B72.3000705@hotmail.com> Date: Thu, 17 Apr 2014 18:06:10 +1000 Hi Vincent, On 17/04/2014 7:11 AM, Vincent Povirk wrote: > MSDN specifically mentions that this flag is the opposite of > CREATE_NEW_CONSOLE: > http://msdn.microsoft.com/en-us/library/windows/desktop/bb759784%28v=vs.85%29.aspx > > I also wrote a test program (built with -mconsole), which uses > ShellExecuteEx to run cmd.exe. When running it from a command line on > windows, it creates a new console window for cmd.exe only when > SEE_MASK_NOCONSOLE is not in fMask. (If I compile with -mwindows, it > seems to create a new console window regardless of the value of the > flag or how I start it, which looks like another wine bug to me.) > I submitted a patch to do this but was reject since it causes the test to behave exactly like window. :( Look for "Correct create flags when SEE_MASK_NO_CONSOLE isn't specified" in January 2014 mailing lists. Best Regards Alistair Leslie-Hughes