mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
osx: Fix unescaped shell argument in narf-open-with
This commit is contained in:
@ -65,7 +65,7 @@
|
||||
(buffer-file-name))))))
|
||||
(command (format "open %s"
|
||||
(if app-name
|
||||
(format "-a %s %s" (shell-quote-argument app-name) path)
|
||||
(format "-a %s '%s'" (shell-quote-argument app-name) path)
|
||||
(format "'%s'" path)))))
|
||||
(message "Running: %s" command)
|
||||
(shell-command command)))
|
||||
|
Reference in New Issue
Block a user