; Use the current system's style of shell-quoting in Eshell debug logs

* lisp/eshell/esh-proc.el (eshell-gather-process-output): Don't force
POSIX syntax.  This is less confusing when running on MS-Windows.
This commit is contained in:
Jim Porter 2024-06-09 13:47:15 -07:00
parent 00649042f3
commit e1cc2d1f61

View file

@ -360,8 +360,7 @@ Used only on systems which do not support async subprocesses.")
:file-handler t)))
(eshell-debug-command 'process
"started external process `%s'\n\n%s" proc
(mapconcat (lambda (i) (shell-quote-argument i 'posix))
(process-command proc) " "))
(mapconcat #'shell-quote-argument (process-command proc) " "))
(eshell-record-process-object proc)
(eshell-record-process-properties proc)
(when stderr-proc