Ticket #36843

Process substitution

Eröffnet am: 2016-12-04 22:19 Letztes Update: 2017-01-22 14:25

Auswertung:
Verantwortlicher:
Status:
Offen [Owner assigned]
Komponente:
Meilenstein:
(Keine)
Priorität:
3
Schweregrad:
3
Lösung:
Keine
Datei:
Keine
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Details

Syntax candidate:

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

Ticket-Verlauf (2/2 Historien)

2016-12-04 22:19 Aktualisiert von: magicant
  • New Ticket "Process substitution" created
2017-01-22 14:25 Aktualisiert von: magicant
Kommentar

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).

Dateianhangliste

Keine Anhänge

Bearbeiten

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