We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
nim r
1 parent f019e99 commit 516db3bCopy full SHA for 516db3b
compiler/nim.nim
@@ -116,7 +116,8 @@ proc handleCmdLine(cache: IdentCache; conf: ConfigRef) =
116
if cmdPrefix.len > 0: cmdPrefix.add " "
117
# without the `cmdPrefix.len > 0` check, on windows you'd get a cryptic:
118
# `The parameter is incorrect`
119
- execExternalProgram(conf, cmdPrefix & output.quoteShell & ' ' & conf.arguments)
+ let cmd = cmdPrefix & output.quoteShell & ' ' & conf.arguments
120
+ execExternalProgram(conf, cmd.strip(leading=false,trailing=true))
121
of cmdDocLike, cmdRst2html, cmdRst2tex: # bugfix(cmdRst2tex was missing)
122
if conf.arguments.len > 0:
123
# reserved for future use
0 commit comments