A Popen creationflags parameter to specify that a new process will not inherit its parent’s console. This value cannot be used with CREATE_NEW_CONSOLE.
subprocess/DETACHED_PROCESS
DETACHED_PROCESS