I have the following python code:
os.system(\"C:/Python27/python.exe C:/GUI/TestGUI.py\") sys.exit(0)
It runs the command fine, and a window po
import sys ,subprocess subprocess.Popen(["C:/Python27/python.exe", "C:/GUI/TestGUI.py"]) sys.exit(0)
Popen from subprocess module what you are looking for.