First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
Try this:
import subprocess
runstr = r'"C:\Windows\SysWOW64\cmd.exe" /k '\
r'"C:\Program Files (x86)\PTI\PSSE32\SET_PSSE_PATH.BAT"'\
r'& compile.bat'
def open_app():
p=subprocess.call(runstr)
open_app()