dspinellis / dgsh

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

Check that a command has either end connected to a pipe when entering negotiation #20

Closed mfragkoulis closed 7 years ago

mfragkoulis commented 7 years ago

If neither its input channel nor its output channel is connected with a pipe, a command should not enter the negotiation procedure since there is no one to negotiate with. The call to the dgsh negotiation library should return immediately.