Function: process-file-shell-command
process-file-shell-command is a byte-compiled function defined in
subr.el.gz.
Signature
(process-file-shell-command COMMAND &optional INFILE BUFFER DISPLAY)
Documentation
Process files synchronously in a separate process.
Similar to call-process-shell-command, but calls process-file.
Probably introduced at or before Emacs version 23.1.
Source Code
;; Defined in /usr/src/emacs/lisp/subr.el.gz
(defun process-file-shell-command (command &optional infile buffer display
&rest args)
"Process files synchronously in a separate process.
Similar to `call-process-shell-command', but calls `process-file'."
(declare (advertised-calling-convention
(command &optional infile buffer display) "24.5"))
;; On remote hosts, the local `shell-file-name' might be useless.
(with-connection-local-variables
(process-file
shell-file-name infile buffer display shell-command-switch
(mapconcat #'identity (cons command args) " "))))