[Pythonmac-SIG] Automating running a sequence of programs

Chris Barker chrishbarker@home.net
Tue, 17 Apr 2001 10:52:58 -0700


Hi all,


I need to have a way to automate a sequence of programs running,
something along the idea of:

create config file
run program A
run Program B (using a file created by program A)
repeat as needed

I've tried using findertools.launch, and it mostly works, but I get some
long pauses, and I got an appleevent timeout errot (or something like
that) on one test run. I think the trick here is that I need the
programs to finish running before I run the next one. That does not
appear to be happening. I think the programs I'm running lock up the
system enough that it sort of works but isn't reliable.

So I think my question is:

How can a launch antoher program and then wait for it to finish before I
do something else?


or:

How else can I do this?

-Thanks,
-Chris


-- 
Christopher Barker,
Ph.D.                                                           
ChrisHBarker@home.net                 ---           ---           ---
http://members.home.net/barkerlohmann ---@@       -----@@       -----@@
                                   ------@@@     ------@@@     ------@@@
Oil Spill Modeling                ------   @    ------   @   ------   @
Water Resources Engineering       -------      ---------     --------    
Coastal and Fluvial Hydrodynamics --------------------------------------
------------------------------------------------------------------------