From 942694d91474a0738460d4cf4c22d4fdfb53a87e Mon Sep 17 00:00:00 2001 From: Araq Date: Tue, 28 Nov 2017 11:14:43 +0100 Subject: [PATCH] fixes the new ':test:' feature --- compiler/docgen.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/docgen.nim b/compiler/docgen.nim index 9a32636c2f..0861c25b29 100644 --- a/compiler/docgen.nim +++ b/compiler/docgen.nim @@ -800,7 +800,7 @@ proc commandRstAux(filename, outExt: string) = # Nim's convention: every path is relative to the file it was written in: outp = splitFile(d.filename).dir / filename writeFile(outp, content) - let cmd = cmd % outp + let cmd = unescape(cmd) % quoteShell(outp) rawMessage(hintExecuting, cmd) if execShellCmd(cmd) != status: rawMessage(errExecutionOfProgramFailed, cmd)