From: John P . Looney (valen at domain tuatha.org)
Date: Fri 17 Sep 1999 - 14:58:03 IST
On Fri, Sep 17, 1999 at 01:39:11PM +0000, michael conry mentioned:
> Hi,
> this is a unix rather than linux query, not sure if that is quite on
> topic. If I have a batch file set up to run a number of programs (or a
> program a number of times), how do i set it so that the lines are
> executed sequentially (by which i mean, that line two is not executed
> until processes arising from line one have completed). The need to do
> this arises out of problems with licensed software and its internal
> queuing (which i do not have access to).
> Thanks in advance,
> mick
Something like:
% command1 &
% command 2 &
% wait
The wait command will pause until all waiting jobs are done. You can give
it a process or job id, if you want, and it'll wait just for that one.
Kate
-- Microsoft. The best reason in the world to drink beer.
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:34 GMT