remove constexpr that clang doesn't seem to like
more portable, if less efficient, version of pipe redirection