Ce serveur Gitlab sera éteint le 30 juin 2020, pensez à migrer vos projets vers les serveurs gitlab-research.centralesupelec.fr et gitlab-student.centralesupelec.fr !

Commit 0216fc44 authored by Dimitri Fontaine's avatar Dimitri Fontaine

Quote arguments when using start-process-shell-command.

Manual "backport" of 1cbff4af.
parent 7e0944a8
......@@ -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)
(stdin (plist-get c :stdin))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment