Ask Your Question

Revision history [back]

click to hide/show revision 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()