diff options
-rw-r--r-- | driver/utils/cwrapper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/utils/cwrapper.c b/driver/utils/cwrapper.c index da6cec4bc3..5a30274ba7 100644 --- a/driver/utils/cwrapper.c +++ b/driver/utils/cwrapper.c @@ -59,7 +59,7 @@ char *flattenAndQuoteArgs(char *ptr, int argc, char *argv[]) *ptr++ = '"'; src = argv[i]; while(*src) { - if (*src == '"') { + if (*src == '"' || *src == '\\') { *ptr++ = '\\'; } *ptr++ = *src++; |