I don't think I need the for loop here, and I should run the stdout and stderr copies in separate goroutines.