use stdin/stdout for command stream and error stream and allow unique pipes to be made for each instance