Running External Commands + Seeing when they are Finished

Miki miki.tebeka at gmail.com
Sun May 28 11:20:17 CEST 2006


Hello Tommy,

Use the subprocess module
(http://docs.python.org/lib/module-subprocess.html).

for app in MY_APPLICATION_LIST:
    pipe = Popen(app)
    pipe.wait()

HTH,
http://pythonwise.blogspot.com/




More information about the Python-list mailing list