Fix Windows command escape for \"

refs #4849
This commit is contained in:
Alexander A. Klimov 2019-04-08 10:58:50 +02:00
parent 6a298615e4
commit c4389103bd
1 changed files with 1 additions and 1 deletions

View File

@ -1147,7 +1147,7 @@ String Utility::EscapeCreateProcessArg(const String& arg)
result.Append(numBackslashes * 2, '\\');
break;
} else if (*it == '"') {
result.Append(numBackslashes * 2, '\\');
result.Append(numBackslashes * 2 + 1, '\\');
result.Append(1, *it);
} else {
result.Append(numBackslashes, '\\');