Waiting on background tasks

Kenneth P. Turvey kt-usenet at squeakydolphin.com
Mon Apr 10 09:14:20 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 10 Apr 2006 17:32:47 +1000, Erik Christiansen wrote:

> The bash shell has a built-in "wait [n]". From man bash: "If n is not
> given, all currently active child processes are waited for, and the return
> status is zero."

Thanks to all those that responded.  This will be a big help.  Out of
curiosity, Erik, does this translate to other shells as well or is it just
a bash thing?

> So just delete "foralltasks" ;-)

I actually did a man on wait, but I didn't think about it being built-in
function. 

- -- 
Kenneth P. Turvey <kt-usenet at squeakydolphin.com>

XMPP  IM: kpturvey at jabber.org
Yahoo IM: kpturvey2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFEOiHji2ZgbrTULjoRAnn4AJ0RSedfrR0tNydzNRZiRrN9uwWGFwCfXRth
ax/oOFxKgxWqcx7BQtuUnrg=
=y5Dg
-----END PGP SIGNATURE-----






More information about the ubuntu-users mailing list