allow selecting stdout and stderr with inpipestream
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Tue, 2 Jan 2018 16:55:28 +0000 (17:55 +0100)
committerPhilipp Gesang <philipp.gesang@intra2net.com>
Tue, 14 Aug 2018 14:53:34 +0000 (16:53 +0200)
commitcc9178973e400af51877aaad5584f07ab63e5e8a
tree5d4038939f45e3817157395f51cb1c52c0a56595
parentf659d78e42b8f68e54dfe07032d5001a9a5c5ce9
allow selecting stdout and stderr with inpipestream

Only handle the user-requested fd in the forked command and
discard the other.
src/pipestream.cpp
src/pipestream.hxx
test/test_pipestream.cpp