[NTLUG:Discuss] Complex Script question
Steve Baker
sjbaker1 at airmail.net
Sat Jun 14 00:21:47 CDT 2003
Jack Snodgrass wrote:
>
> I need to start multiple, simultaneos processes,
> wait for them to finish, then do some local work,
> then start some more, simultaneous proceses, do
> some more local work, etc.
bash has a builtin command 'wait [n]' where [n] is
a process ID...or just 'wait' - which waits for all
outstanding child processes of that shell.
---------------------------- Steve Baker -------------------------
HomeEmail: <sjbaker1 at airmail.net> WorkEmail: <sjbaker at link.com>
HomePage : http://www.sjbaker.org
Projects : http://plib.sf.net http://tuxaqfh.sf.net
http://tuxkart.sf.net http://prettypoly.sf.net
-----BEGIN GEEK CODE BLOCK-----
GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++
-----END GEEK CODE BLOCK-----
More information about the Discuss
mailing list