[comp.unix.questions] sequential background jobs

dkw@osupyr.mast.ohio-state.edu (David Keith Wall) (10/06/88)

    I have been tring to figure out how to "batch" several S
programs so that they will run in sequence (using a shell script)
but so far I can't get anything to work. What I want is something
like this:

S7 BATCH prog1 prog1.out
S7 BATCH prog2 prog2.out
S7 BATCH prog3 prog3.out

but what happens is that they all end up running simultaneously, so
that if some computation in prog2 depends on the results of prog1
I get an error. (Also we're not supposed to run more than one
background process at one time.)

Please e-mail any suggestions to dkw@osupyr.mast.ohio-state.edu.UUCP,
and "thanks for your support".

David K. Wall