proper 'space in dir' test
This commit is contained in:
parent
8d064cedf2
commit
efb5ec3e73
2 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue