Wrapper for subprocess which provides command pipeline functionality
