Fix execAction issue on Windows

This commit is contained in:
Ganesh Viswanathan 2019-12-21 22:42:36 -08:00
commit 3d1dcb31a9

View file

@ -350,7 +350,7 @@ proc findFile*(file: string, dir: string, recurse = true, first = false, regex =
var var
cmd = cmd =
when defined(windows): when defined(windows):
"nimgrep --filenames --oneline --nocolor $1 $2 $3" "nimgrep --filenames --oneline --nocolor $1 \"$2\" $3"
elif defined(linux): elif defined(linux):
"find $3 $1 -regextype egrep -regex $2" "find $3 $1 -regextype egrep -regex $2"
elif defined(osx): elif defined(osx):