change dir when koch starts (#9663)

This commit is contained in:
Arne Döring
2018-11-09 14:18:09 +01:00
committed by GitHub
parent 573d02760e
commit 8507e506ce

View File

@@ -79,6 +79,8 @@ template withDir(dir, body) =
finally:
setCurrentdir(old)
setCurrentDir(getAppDir())
proc tryExec(cmd: string): bool =
echo(cmd)
result = execShellCmd(cmd) == 0