win64: remove unneeded command-line parsing hack
This commit is contained in:
parent
5065f39dec
commit
d4158cfc9c
|
@ -423,13 +423,11 @@
|
|||
(if (eq? (system-type) 'windows)
|
||||
(lambda (s)
|
||||
(let ([split (let loop ([s s])
|
||||
(let ([m (regexp-match #rx"((?:\"[ ()]\"|[^ ])*) (.*)" s)])
|
||||
(let ([m (regexp-match #rx"([^ ]*) (.*)" s)])
|
||||
(if m
|
||||
(cons (cadr m) (loop (caddr m)))
|
||||
(list s))))])
|
||||
(apply (verbose process*) (find-executable-path
|
||||
(regexp-replace* #rx"\"([ ()])\"" (car split) "\\1")
|
||||
#f)
|
||||
(apply (verbose process*) (find-executable-path (car split) #f)
|
||||
(cdr split))))
|
||||
(verbose process)))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user