dspinellis / dgsh

Shell supporting pipelines to and from multiple processes
http://www.spinellis.gr/sw/dgsh/
Other
323 stars 22 forks source link

Negotiation doesn't fail if one of the I/O sides requires non-existing multipipe I/O #75

Closed dspinellis closed 7 years ago

dspinellis commented 7 years ago

The following example (see issue #63) core-dumps. It should exit with an error, because the output of cut isn't pasted to cat.

dgsh -c 'echo "foo bar baz" | cut -d" " -f 1,3 --multistream'

The following, correctly, works fine

dgsh -c 'echo "foo bar baz" | cut -d" " -f 1,3 --multistream | cat'