Fix quoteShell issue

This commit is contained in:
Ganesh Viswanathan 2019-02-03 00:02:13 -06:00
commit 61eb045744

View file

@ -9,7 +9,7 @@ proc execAction*(cmd: string, nostderr=false): string =
when defined(Windows):
ccmd = "cmd /c " & cmd
when defined(Linux) or defined(MacOSX):
ccmd = "bash -c '" & cmd & "'"
ccmd = "bash -c \"" & cmd & "\""
when nimvm:
(result, ret) = gorgeEx(ccmd)