diff --git a/nimterop/build/shell.nim b/nimterop/build/shell.nim index 4f3c316..235f7b5 100644 --- a/nimterop/build/shell.nim +++ b/nimterop/build/shell.nim @@ -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