mirror of
https://github.com/dimitri/el-get.git
synced 2024-09-29 04:58:53 +08:00
Quote arguments when using start-process-shell-command
Fixes installation failure on cases when $HOME contains spaces. Signed-off-by: Dimitri Fontaine <dim@tapoueh.org>
This commit is contained in:
parent
032fdf6524
commit
1cbff4af37
|
@ -1271,8 +1271,10 @@ Any other property will get put into the process object.
|
|||
(killed (when (get-buffer cbuf) (kill-buffer cbuf)))
|
||||
(filter (plist-get c :process-filter))
|
||||
(program (plist-get c :program))
|
||||
(args (plist-get c :args))
|
||||
(shell (plist-get c :shell))
|
||||
(args (if shell
|
||||
(mapcar #'shell-quote-argument (plist-get c :args))
|
||||
(plist-get c :args)))
|
||||
(sync (if (plist-member c :sync) (plist-get c :sync)
|
||||
el-get-default-process-sync))
|
||||
(stdin (plist-get c :stdin))
|
||||
|
|
Loading…
Reference in New Issue
Block a user