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
commit 8507e506ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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