From ece5887ab0af2e95f8327da59e43fda1e4b1b753 Mon Sep 17 00:00:00 2001 From: Araq Date: Tue, 15 Jan 2019 23:07:51 +0100 Subject: [PATCH] another attempt to fix https://github.com/nim-lang/nightlies/issues/17 --- koch.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koch.nim b/koch.nim index b50b6c0e13..7059e87a58 100644 --- a/koch.nim +++ b/koch.nim @@ -75,7 +75,7 @@ Web options: """ let kochExe* = when isMainModule: os.getAppFilename() # always correct when koch is main program, even if `koch` exe renamed eg: `nim c -o:koch_debug koch.nim` - else: getAppDir() / "koch " # `best effort`, works for ur particular use case in nightly + else: getAppDir() / "koch".exe # works for winrelease proc kochExec*(cmd: string) = exec kochExe.quoteShell & " " & cmd