-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Just came up with crazy idea of using somehow similar mechanism as it is on posix with "|" character. Immagine given scenario:
There are two Reactors (no matter how deeply nested), lets name first ReactorA and second ReactorB. Both of them are mapped respectively to their names so u can call each like this:
reactor-a -p1 param1 -p2 param2
reactor-b -v1 valueX -v2 valueY
and now, let's assume that reactor-b produces output in given structure:
response_line1 = value1
response_line2 = value2
now, how about calling them in pipe:
reactor-a -p1 param1 -p2 param2 | reactor-b -v1 ${response_line1} -v2 ${response_line2}
?? :)
Reactions are currently unavailable