Starting a subprocess on Windows with `DETACHED_PROCESS |
CREATE_NEW_PROCESS_GROUP` as startup info means starting a console GUI window
in almost all cases. If we add a logtoprocess for commandfinish and the prompt
do some hg calls, it will create a short-lived GUI window which is annoying
for end-users.
Creating a subprocess with CREATE_CONSOLE instead seems to no start a
console window but could have other side-effects so it kept under a config
knob.
Can we add CREATE_NEW_PROCESS_GROUP ?