Fix 'compile' not working when spaces are in bin path

This commit is contained in:
Chris Rohlfs 2016-11-22 01:41:40 +13:00
commit bcbb85c5e4

View file

@ -628,7 +628,7 @@ proc compile(options: Options) =
echo("Compiling ", bin, " (", pkgInfo.name, ") using ", backend,
" backend...")
doCmd(getNimBin() & " $# --noBabelPath $# \"$#\"" %
doCmd("\"" & getNimBin() & "\" $# --noBabelPath $# \"$#\"" %
[backend, args, bin])
proc search(options: Options) =