answered Dec 7 '0
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()