diff options
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/sem.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/sem.nim b/compiler/sem.nim index d0f106526..01e816f5c 100644 --- a/compiler/sem.nim +++ b/compiler/sem.nim @@ -607,7 +607,7 @@ proc testExamples(c: PContext) = elif isDefined(c.config, "cpp"): "cpp" elif isDefined(c.config, "objc"): "objc" else: "c" - if os.execShellCmd("nim " & backend & " -r " & outp) != 0: + if os.execShellCmd(os.getAppFilename() & " " & backend & " -r " & outp) != 0: quit "[Examples] failed" removeFile(outp) |