To open in a different console, do (tested on Win7 / Python 3):
from subprocess import Popen, CREATE_NEW_CONSOLE
Popen('cmd', creationflags=CREATE_NEW_CONSOLE)
input('Enter to exit from Python script...')
Related
How can I spawn new shells to run python scripts from a base python script?
More Related Contents:
- Sub-process in Python execute two task? [closed]
- Python subprocess/Popen with a modified environment
- How to use subprocess popen Python [duplicate]
- Subprocess.Popen: cloning stdout and stderr both to terminal and variables
- Popen waiting for child process even when the immediate child has terminated
- Python popen command. Wait until the command is finished
- How can I specify working directory for popen
- Launch a completely independent process
- Python subprocess.Popen() error (No such file or directory)
- Popen with conflicting executable/path
- How do I get ‘real-time’ information back from a subprocess.Popen in python (2.5)
- subprocess.Popen() error (No such file or directory) when calling command with arguments as a string
- How to write to stdout AND to log file simultaneously with Popen?
- link several Popen commands with pipes
- Display realtime output of a subprocess in a tkinter widget
- Python subprocess and user interaction
- Keep a subprocess alive and keep giving it commands? Python
- Launch a shell command with in a python script, wait for the termination and return to the script
- How to run a background process and do *not* wait?
- real time subprocess.Popen via stdout and PIPE
- ‘^’ is ignored by Python – how to escape ‘^’ character in Popen Windows?
- What’s the difference between subprocess Popen and call (how can I use them)?
- python subprocess Popen environment PATH?
- How do I eliminate Windows consoles from spawned processes in Python (2.7)? [duplicate]
- Bash style process substitution with Python’s Popen
- Why does subprocess.Popen() with shell=True work differently on Linux vs Windows?
- How to do multiple arguments with Python Popen?
- subprocess.wait() not waiting for Popen process to finish (when using threads)?
- Cannot find the file specified when using subprocess.call(‘dir’, shell=True) in Python
- What is the subprocess.Popen max length of the args parameter?