Function: eshell-make-process-pair

eshell-make-process-pair is a byte-compiled function defined in esh-util.el.gz.

Signature

(eshell-make-process-pair PROCS)

Documentation

Make a pair of process objects from PROCS if possible.

This represents the head and tail of a pipeline of processes, where the head and tail may be the same process.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-util.el.gz
(defun eshell-make-process-pair (procs)
  "Make a pair of process objects from PROCS if possible.
This represents the head and tail of a pipeline of processes,
where the head and tail may be the same process."
  (pcase procs
    ((pred eshell-processp) (cons procs procs))
    ((pred eshell-process-pair-p) procs)))