Ticket #36843

Process substitution

Open Date: 2016-12-04 22:19 Last Update: 2017-01-22 14:25

Reporter:
Owner:
Status:
Open [Owner assigned]
Component:
MileStone:
(None)
Priority:
3
Severity:
3
Resolution:
None
File:
None
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Details

Syntax candidate:

diff $<(foo) $<(bar)
tee $>(baz)

Ticket History (2/2 Histories)

2016-12-04 22:19 Updated by: magicant
  • New Ticket "Process substitution" created
2017-01-22 14:25 Updated by: magicant
Comment

To support process substitution, we need to open FDs during the four expansions in a manner like opening redirections. It would be a relatively broad change in the expansion algorithm.

We also need to close the FDs after the command finished. It is still unclear how and when they are closed if process substitution is performed outside the argument expansion of a simple command (e.g. in an assignment word or in a here-document or in a case pattern).

Attachment File List

No attachments

Edit

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