Function: tramp-rclone-send-command

tramp-rclone-send-command is a byte-compiled function defined in tramp-rclone.el.gz.

Signature

(tramp-rclone-send-command VEC &rest ARGS)

Documentation

Send a command to connection VEC.

The command is the list of strings ARGS.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp-rclone.el.gz
(defun tramp-rclone-send-command (vec &rest args)
  "Send a command to connection VEC.
The command is the list of strings ARGS."
  (with-current-buffer (tramp-get-connection-buffer vec)
    (erase-buffer)
    (let ((flags (tramp-get-method-parameter
		  vec (intern (format "tramp-%s-args" (car args))))))
      (apply #'tramp-call-process
	     vec tramp-rclone-program nil t nil (append args flags)))))