Fix quoteShell issue
This commit is contained in:
parent
9fe45ac32b
commit
61eb045744
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue