Ah, so it's CREATE_NEW_PROCESS_GROUP. In one of my attempts I tried the same using Win32::Process instead of system(), and looking through the flags I thought DETACHED_PROCESS
might do the job (it doesn't). Strange that I didn't even notice CREATE_NEW_PROCESS_GROUP.
Re^4: Invoking the Windows command line for selected directories
Replies are listed 'Best First'.
DETACHED_PROCESS is used to create processes that don't have a console. They are 'detached' from the console; think *nix-style deamon processes and win32 services (though the latter can also have a console!).