diff options
| author | Ganesh Viswanathan <dev@genotrance.com> | 2019-02-03 00:02:13 -0600 |
|---|---|---|
| committer | Ganesh Viswanathan <dev@genotrance.com> | 2019-02-03 00:02:13 -0600 |
| commit | 61eb0457441a8cc7d45a6cad53ebac8a7cc0d4f9 (patch) | |
| tree | 44570fd891b2b394e552945a02b8680fcdf59648 | |
| parent | 9fe45ac32b9c79ca2265accfdb89e37e91166d68 (diff) | |
| download | nimterop-61eb0457441a8cc7d45a6cad53ebac8a7cc0d4f9.tar.gz nimterop-61eb0457441a8cc7d45a6cad53ebac8a7cc0d4f9.zip | |
Fix quoteShell issue
| -rw-r--r-- | nimterop/git.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nimterop/git.nim b/nimterop/git.nim index ee170b2..f7de472 100644 --- a/nimterop/git.nim +++ b/nimterop/git.nim @@ -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) |
