Simple wrapper for Python subprocess library that makes it easy to set up pipes.