4 ms·
Fish Shell has been having some problems implementing process substitution. Last I checked, they tried two approaches: * piping to FIFO files, but it throws an
by man-and-laptop 8y ago
Fish Shell has been having some problems implementing process substitution. Last I checked, they tried two approaches:
* piping to FIFO files, but it throws an error if you pump too much data into them
* waiting until one process finishes before starting another. That's not a correct implementation either
Bash apparently resorts to black-magic.
- yorwba 8y agoThe Bash manual seems to imply that they use /dev/fd to implement process substitution like regular pipes, but passing the pipe file descriptor as its filename under /dev/fd. https://www.gnu.org/software/bash/manual/html_node/Process-Substitution.html https://www.gnu.org/software/bash/manual/html_node/Process-S...
- deleted 8y ago[deleted]