[Solved] Python program to execute any other Python program as argument? [duplicate]


Unless you want to be able to launch several program at one ?

import sys
import subprocess
def dorun(args):
   subprocess.Popen([sys.executable, args])
dorun(sys.argv[1])

0

solved Python program to execute any other Python program as argument? [duplicate]