I have a python script and would like to open CMD and run another exe app after finishing with python script.. I have been trying to use os system and subprocess and read the forum, however can not find how to run another .exe app in the cmd I got the following rror: command is not recognized as an internal or external command operable ... I attached the script:
import numpy as np
import os
import subprocess
import sys
L_b = int(input("PLEASE ENTER LENGTH OF BEAM: "))
xf = L_b+3
print(xf)
p = subprocess.Popen(["cmd", "NAMEOFAPP.exe",shell = True)
#p = subprocess.call(["NAMEOFAPP"], shell = True)
#os.system("start /B start NAMEOFAPP.exe @cmd /k {NAMEOFAPP.exe}")