diff --git a/el-get-core.el b/el-get-core.el index be164326..71a032df 100644 --- a/el-get-core.el +++ b/el-get-core.el @@ -356,8 +356,10 @@ makes it easier to conditionally splice a command into the list. (cbuf (plist-get c :buffer-name)) (killed (when (get-buffer cbuf) (kill-buffer cbuf))) (filter (plist-get c :process-filter)) - (program (plist-get c :program)) (shell (plist-get c :shell)) + (program (if shell + (shell-quote-argument (plist-get c :program)) + (plist-get c :program))) (args (if shell (mapcar #'shell-quote-argument (plist-get c :args)) (plist-get c :args)))