Function: tramp-handle-start-file-process
tramp-handle-start-file-process is a byte-compiled function defined in
tramp.el.gz.
Signature
(tramp-handle-start-file-process NAME BUFFER PROGRAM &rest ARGS)
Documentation
Like start-file-process for Tramp files.
BUFFER might be a list, in this case STDERR is separated.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp.el.gz
(defun tramp-handle-start-file-process (name buffer program &rest args)
"Like `start-file-process' for Tramp files.
BUFFER might be a list, in this case STDERR is separated."
;; `make-process' knows the `:file-handler' argument since Emacs
;; 27.1 only. Therefore, we invoke it via `tramp-file-name-handler'.
(tramp-file-name-handler
'make-process
:name name
:buffer (if (consp buffer) (car buffer) buffer)
:command (and program (cons program args))
;; `shell-command' adds an errfile to `buffer'.
:stderr (when (consp buffer) (cadr buffer))
:noquery nil
:file-handler t))