Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
question about wait in interactive mode
- X-seq: zsh-users 9475
- From: Radu Duta <rduta@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: question about wait in interactive mode
- Date: Wed, 5 Oct 2005 09:34:59 -0400
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
I have a scriptlet that behaves differently then I would expect. This only
happens on the command line. Running a script script file with those same
lines works as expected and the code returns after printing the 3 lines.
In bash it works as I thought it would, but zsh gets stuck in what looks like a
wait deadlock.
Does anybody know what is going on? This is 4.2.4
cat <<END |
a
b
c
END
(
for f in `cat`
do
/bin/echo $f &
done
wait
)
Thanks.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author