allow path lookup for pipestream
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Wed, 3 Jan 2018 17:08:44 +0000 (18:08 +0100)
committerPhilipp Gesang <philipp.gesang@intra2net.com>
Tue, 14 Aug 2018 14:53:34 +0000 (16:53 +0200)
commitad4490f1cee6c48f81af20b691e2784b00e25286
treef27534af8a1ba44c2aa706eae27577d7227f3ca4
parent8621037f955fa6615e2252ad5a058eafbb6f5f33
allow path lookup for pipestream

Add a flag ``path'' which, if set, causes the specified program
to be executed with execvpe(); also, the environment is passed
on so in this case (to propagate $PATH) so it is up to the caller
to sanitize envp beforehand.
src/pipestream.cpp
src/pipestream.hxx
test/test_pipestream.cpp