Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: unable to wait on completed job
- X-seq: zsh-users 14618
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: unable to wait on completed job
- Date: Mon, 30 Nov 2009 09:48:54 -0800
- In-reply-to: <m3skbwhvms.fsf@xxxxxxxxxxxxxx>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <19213.26295.345572.732238@xxxxxxxxxxxxxxxxxx> <200911251748.nAPHmrCX010198@xxxxxxxxxxxxxx> <m3638sr72x.fsf_-_@xxxxxxxxxxxxxx> <091129211436.ZM1769@xxxxxxxxxxxxxxxxxxxxxx> <m3skbwhvms.fsf@xxxxxxxxxxxxxx>
On Nov 30, 10:36am, Greg Klanderman wrote:
}
} > "Fixing" this may be a fairly convoluted change to the already somewhat
} > baroque job table management code.
}
} So is this something you think needs to get fixed, would be nice to
} fix, or not worth it?
Some input from PWS would help, as he's more familiar with the job
table code. I'd classify it as "would be nice" because we've gotten
along for almost 20 years without anyone even noticing.
Note that AFAICT, even with the operation as supported by bash, you are
only guaranteed access to the exit status of the most recently started
asynchronous job; so it's not much help in handling multiple parallel
tasks. If you don't care about the exit status, you can do
! kill -0 $pid || wait $pid
to get the necessary effect.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author