CREATE_NEW_CONSOLE

const win32process.CREATE_NEW_CONSOLE;

The new process has a new console, instead of inheriting the parent's console. This flag cannot be used with the DETACHED_PROCESS flag.