The second part, yes. But winetest must have been made into a console app, so it pops up a console when it starts.
why do you need a console ? either you don't care about the output to the console, or you do care but you've already redirected the output to a log file so, passing DETACHED_PROCESS in CreateProcess (winetest/main.c) would be a good thing IMO
A+