Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: weird zsh problem with background procs and scripts
- X-seq: zsh-users 10600
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: weird zsh problem with background procs and scripts
- Date: Sun, 13 Aug 2006 14:53:57 -0700
- In-reply-to: <20060812223515.GA9470@fast>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20060812223515.GA9470@fast>
On Aug 12, 3:35pm, Tyler Spivey wrote:
}
} If you put the following into a loop it won't work. Is there a
} workaround?
What exactly do you expect to happen when you run "ed" in the background?
As far as I can tell it simply exits immediately, which would explain why
you only have one of them running at a time.
} zsh -x shows that it's not even taking the &.
You are misled. "zsh -x" does not print the "&" because it doesn't print
*any* command separators. Compare with:
#! /bin/zsh -f
while :;do
sleep 5 & sleep 6 &
jobs
sleep 1
done
Messages sorted by:
Reverse Date,
Date,
Thread,
Author