79109981

Date: 2024-10-21 12:15:44
Score: 1.5
Natty:
Report link

there are two different main ways:

  1. using an indirect command that requires to open a new console, e.g.:

    subprocess.Popen("start /wait ", stdout=subprocess.PIPE, shell=True)

(see: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/start )

  1. using python to open a new console with the following, e.g.:

subprocess.Popen("", creationflags=subprocess.CREATE_NEW_CONSOLE)

(see: https://docs.python.org/3/library/subprocess.html)

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: MassimoRa