Safe passing of subprocess arguments - always.
This commit is contained in:
parent
ee8aa95e24
commit
7f7d1c43c8
3 changed files with 13 additions and 13 deletions
|
@ -71,11 +71,12 @@
|
|||
(lambda ()
|
||||
(let loop ((lines
|
||||
(get-process-output-lines
|
||||
(sprintf "git -C \"~A\" log -p -- \"~A\""
|
||||
(string-translate* (*members-directory*)
|
||||
'(("\"" . "\\\"")))
|
||||
(brmember-file-name mr)
|
||||
))))
|
||||
"git"
|
||||
"-C" (*members-directory*)
|
||||
"log"
|
||||
"-p"
|
||||
"--"
|
||||
(brmember-file-name mr))))
|
||||
(when (not (null? lines))
|
||||
(print (car lines))
|
||||
(loop (cdr lines))))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue