change dir when koch starts (#9663)
This commit is contained in:
parent
573d02760e
commit
8507e506ce
1 changed files with 2 additions and 0 deletions
2
koch.nim
2
koch.nim
|
|
@ -79,6 +79,8 @@ template withDir(dir, body) =
|
|||
finally:
|
||||
setCurrentdir(old)
|
||||
|
||||
setCurrentDir(getAppDir())
|
||||
|
||||
proc tryExec(cmd: string): bool =
|
||||
echo(cmd)
|
||||
result = execShellCmd(cmd) == 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue