Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: bug in zsh wait builtin - rhbz#1150541



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