Variable: eca-process-wrapper-function

eca-process-wrapper-function is a customizable variable defined in eca-process.el.

Value

nil

Documentation

Optional function to wrap the eca server command before launch.

When non-nil, called with two arguments: COMMAND (list of strings, already including eca-extra-args) and ROOTS (list of absolute workspace folder paths). Must return a list of strings to be passed to make-process.

Useful for running ECA inside a sandbox like firejail, bubblewrap, or jai, optionally whitelisting workspace roots at startup. See the README's "Sandboxing" section for examples.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-process.el
(defcustom eca-process-wrapper-function nil
  "Optional function to wrap the eca server command before launch.
When non-nil, called with two arguments: COMMAND (list of strings,
already including `eca-extra-args') and ROOTS (list of absolute
workspace folder paths).  Must return a list of strings to be
passed to `make-process'.

Useful for running ECA inside a sandbox like firejail, bubblewrap,
or jai, optionally whitelisting workspace roots at startup.  See
the README's \"Sandboxing\" section for examples."
  :group 'eca
  :risky t
  :type '(choice (const nil) function))