Bug 1150554
| Summary: | zsh wait builtin does not work for already exited processes [RHEL-7] | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Tim Speetjens <tspeetje> | |
| Component: | zsh | Assignee: | Kamil Dudka <kdudka> | |
| Status: | CLOSED ERRATA | QA Contact: | Jan Kepler <jkejda> | |
| Severity: | urgent | Docs Contact: | ||
| Priority: | urgent | |||
| Version: | 7.0 | CC: | fkrska, james.antill, jkejda, kdudka, mkolaja, msvistun, ovasik, qe-baseos-apps | |
| Target Milestone: | rc | Keywords: | Patch, Reopened, ZStream | |
| Target Release: | --- | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | zsh-5.0.2-9.el7 | Doc Type: | Enhancement | |
| Doc Text: |
With this update, the "wait" built-in command of zsh can now wait for (and obtain the exit status of) any selected background process, which no longer needs to be the latest created one.
|
Story Points: | --- | |
| Clone Of: | 1150541 | |||
| : | 1274698 (view as bug list) | Environment: | ||
| Last Closed: | 2015-11-19 05:19:54 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | 1162198 | |||
| Bug Blocks: | 1150541, 1274698 | |||
|
Comment 2
Tim Speetjens
2014-10-24 07:40:45 UTC
However, testing with multiple pids, like: sh -c "echo done1" & pid1=$! sh -c "echo done2" & pid2=$! sh -c "echo done3" & pid3=$! sleep 1 wait $pid1 $pid2 $pid3 still fails $ zsh -o POSIXJOBS test-multi.sh done1 done2 done3 test-multi.sh:wait:9: pid 7203 is not a child of this shell test-multi.sh:wait:9: pid 7204 is not a child of this shell rc: 0 rc: 3 This seems to be fixed upstream: http://sourceforge.net/p/zsh/code/ci/b4f7ccec http://sourceforge.net/p/zsh/code/ci/9a551ca8 *** Bug 1150541 has been marked as a duplicate of this bug. *** Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-2208.html |