proper 'space in dir' test

This commit is contained in:
Araq
2015-01-24 13:29:37 +01:00
parent 8d064cedf2
commit efb5ec3e73
2 changed files with 1 additions and 1 deletions

View File

@@ -57,7 +57,7 @@ let
proc callCompiler(cmdTemplate, filename, options: string,
target: TTarget): TSpec =
let c = parseCmdLine(cmdTemplate % ["target", targetToCmd[target],
"options", options, "file", filename])
"options", options, "file", filename.quoteShell])
var p = startProcess(command=c[0], args=c[1.. -1],
options={poStdErrToStdOut, poUseShell})
let outp = p.outputStream