findExe sanitizePath
This commit is contained in:
parent
c3228683fa
commit
d07bd2d71e
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ proc findExe*(exe: string): string =
|
|||
(output, ret) = execAction(cmd, die = false)
|
||||
|
||||
if ret == 0:
|
||||
return output.splitLines()[0].strip()
|
||||
return output.splitLines()[0].strip().sanitizePath
|
||||
|
||||
proc mkDir*(dir: string) =
|
||||
## Create a directory at compile time
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue