Xcode: this is what happens when you do not treat command lines as arrays.

This commit is contained in:
Jussi Pakkanen 2021-04-14 23:07:04 +03:00
parent 318d50270c
commit 39f963988b
1 changed files with 1 additions and 0 deletions

View File

@ -1249,6 +1249,7 @@ class XCodeBackend(backends.Backend):
if args:
quoted_args = []
for a in args:
a = a.replace(r'"', r'\\\"')
if ' ' in a:
a = r'\"' + a + r'\"'
quoted_args.append(a)