Allow specifying custom $stdin, $stdout, and $stderr objects. Custom $stdin is not used yet.