code: func ExecCmdWithStdStreams(stdin io.Reader, stdout, stderr io.Writer, name string, args ...string) error {
  	cmd := exec.Command(name, args...)
  	cmd.Stdin = stdin
  	cmd.Stdout = stdout
  	cmd.Stderr = stderr
  	if v, found := os.LookupEnv("XDG_RUNTIME_DIR"); found {
  		cmd.Env = append(cmd.Env, fmt.Sprintf("XDG_RUNTIME_DIR=%s", v))
  	}
  
  	err := cmd.Run()
  	if err != nil {
  		return fmt.Errorf("`%v %v` failed: %v", name, strings.Join(args, " "), err)
  	}
  
  	return nil
  }
docs: // ExecCmdWithStdStreams execute a command with the specified standard streams.