Skip to content

Commit

Permalink
Quote arguments when using start-process-shell-command.
Browse files Browse the repository at this point in the history
Manual "backport" of 1cbff4a.
  • Loading branch information
dimitri committed Sep 22, 2011
1 parent 7e0944a commit 0216fc4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion el-get-core.el
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,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))
Expand Down

0 comments on commit 0216fc4

Please sign in to comment.