eshell-quote-argument

eshell-quote-argument is a compiled Lisp function in `esh-arg.el'.

(eshell-quote-argument STRING)

Return STRING with magic characters quoted.
Magic characters are those in `eshell-special-chars-outside-quoting'.