Skip to content

Commit

Permalink
quote nim command on compile (nim-lang#16954)
Browse files Browse the repository at this point in the history
  • Loading branch information
n5m authored and ardek66 committed Mar 26, 2021
1 parent 57fe11a commit 5691fc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/docgen.nim
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ proc runAllExamples(d: PDoc) =
# most useful semantics is that `docCmd` comes after `rdoccmd`, so that we can (temporarily) override
# via command line
let cmd = "$nim $backend -r --lib:$libpath --warning:UnusedImport:off --path:$path --nimcache:$nimcache $rdoccmd $docCmd $file" % [
"nim", os.getAppFilename(),
"nim", quoteShell(os.getAppFilename()),
"backend", $d.conf.backend,
"path", quoteShell(d.conf.projectPath),
"libpath", quoteShell(d.conf.libpath),
Expand Down

0 comments on commit 5691fc5

Please sign in to comment.