dspinellis / dgsh

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

dgsh-wrap core dumps when used to wrap two input args through shell #76

Closed dspinellis closed 7 years ago

dspinellis commented 7 years ago

When used as follows

{{
        echo hi
        echo there
}} |
dgsh-wrap -s bash -c "fmt '<|' '<|'"
dspinellis commented 7 years ago

Following correction of allocated buffer space, dgsh-wrap now attempts to execute -s.

dspinellis commented 7 years ago

The heavily modified code is difficult to fix. Rewriting it from scratch.