Re: Running External Commands + Seeing when they are Finished

2006-05-29 Thread Tommy B
It works! Gasp! Thanks! -- http://mail.python.org/mailman/listinfo/python-list

Re: Running External Commands + Seeing when they are Finished

2006-05-28 Thread Miki
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/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Running External Commands + Seeing when they are Finished

2006-05-27 Thread Tommy B
The problem is with that (which is what I'm doing already) is that one app is in a window and one app is on the command line. Thus, you end up with both apps running at the same time. Are there any modules that have functions for checking when windows are opened or closed? -- http://mail.python.o

Re: Running External Commands + Seeing when they are Finished

2006-05-27 Thread andychambers2002
from os import * for cmd in ['adaware', 'spybot']: system(cmd) -- http://mail.python.org/mailman/listinfo/python-list

Running External Commands + Seeing when they are Finished

2006-05-26 Thread Tommy B
I'm currently working on a script that I will run when I leave my computer on at night. It runs external commands like Ad-Aware, Spybot, AVG, Avast, and the like. The problem is, I want to know how to make it so that one command starts only after the last one finishes. When I run them, they end up