Use cmd.Output instead of the pipe