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

Re: Backgroun job return code



Threading is really not necessary to get this. One idea would be
calling the TRAPEXIT function for *all* jobs, not only the foreground
ones and adding an argument to the invocation - return code of just
exited command. Oh - and let's get crazy - command line for it too :)

/S

On Fri, Feb 5, 2010 at 11:21 PM, Marc Weber <marco-oweber@xxxxxx> wrote:
> Hi /S
>
>> I'd like to obtain RC of a background pipeline asynchronously. Is
> I'm not ZSH guru. I tried something similar: Running multiple jobs at
> the same time. You should consider using a real scripting language such
> as Ruby or Python or Perl which do support threads.
> In the long run it's worth learning such a language.
>
> I'm not omniscient. This is my experience.
>
> Marc Weber
>



Messages sorted by: Reverse Date, Date, Thread, Author