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

[ad_1]

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

[ad_2]

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