On Windows, the python subprocess command to open a cmd window is simply:
import subprocess
subprocess.Popen('cmd.exe')
Can anyone tell me what the command to open the cmd equivalent in Linux is? I'm going to be copying some python code from my Windows machine to my Raspberry Pi and am new to Linux - I know that this line of code won't open the terminal on a Linux OS the same way it will on Windows.
Thanks in advance!
shell=Trueto execute shell commands from Python. I recognize that might not be your end-goal, however, so that might not be helpful to you.