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

According to Steve Newcomb on 12/30/2009 7:29 PM:
> r...@zorba:/home/srn# /tmp/z.sh
> here we are!
> pidOfBackgroundProcess=20944
> /tmp/z.sh: line 10: wait: pid 20944 is not a child of this shell
> 
> (But, of course, pid 20944 *was* in fact a child of this shell.)

Actually, by using &, you have run wait in a subshell, and 20944 was NOT a
child of the subshell.  I don't know if there is anything that can be done
to clarify the error message, though.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             e...@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAks8LQcACgkQ84KuGfSFAYDYPQCcCRiBsTn3s6H4ceyNtVDFus+E
9qgAoLnXs8c+FjUrOoX60dN1atTt0fAT
=ufcf
-----END PGP SIGNATURE-----


Reply via email to