Ticket #38823

"wait" in a subshell wrongly tries to await the main shell's job (2)

Open Date: 2018-12-29 15:34 Last Update: 2019-01-14 16:49

Reporter:
Owner:
Type:
Status:
Closed
Component:
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Details

#19497 has not been fully fixed.

yash -c 'sleep 10& (echo 1& wait; echo 2); :' is OK, but yash -c 'sleep 10& (echo 1& wait; echo 2)' is not.

Attachment File List

No attachments

Ticket History (3/3 Histories)

2018-12-29 15:34 Updated by: magicant
  • New Ticket ""wait" in a subshell wrongly tries to await the main shell's job (2)" created
2019-01-14 16:16 Updated by: magicant
Comment

Dash and ksh seem to have the same kind of bug.

2019-01-14 16:49 Updated by: magicant
  • Status Update from Open to Closed
  • Resolution Update from None to Fixed
Comment

Fixed in r3969

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login