FIX another quoting bug
This commit is contained in:
parent
b18e7ac237
commit
6624ce05bf
|
@ -295,7 +295,7 @@ multiple files at once for given MIMETYPE."
|
|||
(defun nd/execute-desktop-command (cmd file)
|
||||
"Opens FILE using CMD in separate process where CMD is from a
|
||||
desktop file exec directive."
|
||||
(--> (format "'%s'" file)
|
||||
(--> (shell-quote-argument file)
|
||||
(replace-regexp-in-string "%[fuFU]" it cmd t t)
|
||||
(format "%s &" it)
|
||||
(call-process-shell-command it)))
|
||||
|
|
Loading…
Reference in New Issue