Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: bug in zsh wait builtin - rhbz#1150541
- X-seq: zsh-workers 33508
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx, zsh-workers@xxxxxxx
- Subject: Re: bug in zsh wait builtin - rhbz#1150541
- Date: Wed, 22 Oct 2014 08:48:21 -0700
- Cc: Tim Speetjens <tim.speetjens@xxxxxxxxx>
- In-reply-to: <CAO7vJOjrb=N3xuTJVSb7U8mdXtexYp8nN4YaoknfUb3fofU2zg@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAO7vJOgoC=6wxv6QgzDuWwEYU1vj1i4AybS47-U5_f=FpaDMnA@mail.gmail.com> <20141021210234.199eee3d@pws-pc.ntlworld.com> <141021235542.ZM14840@torch.brasslantern.com> <CAO7vJOjrb=N3xuTJVSb7U8mdXtexYp8nN4YaoknfUb3fofU2zg@mail.gmail.com>
On Oct 22, 10:42am, Tim Speetjens wrote:
}
} Are there any plans, to make zsh behave more like other shells, with
} regard to this? Both bash and mksh do what one would expect: propagate
} the return code, even if the job finished meanwhile.
I would say there are "intentions" rather than "plans". There must be
something there already for { setopt POSIX_JOBS; foo & wait $! } so it
may be possible to generalize.
I'm still curious about PID rollover and whether "kill $!" is supposed
to avoid signalling the wrong job.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author