Xcode: this is what happens when you do not treat command lines as arrays.
This commit is contained in:
parent
318d50270c
commit
39f963988b
|
@ -1249,6 +1249,7 @@ class XCodeBackend(backends.Backend):
|
||||||
if args:
|
if args:
|
||||||
quoted_args = []
|
quoted_args = []
|
||||||
for a in args:
|
for a in args:
|
||||||
|
a = a.replace(r'"', r'\\\"')
|
||||||
if ' ' in a:
|
if ' ' in a:
|
||||||
a = r'\"' + a + r'\"'
|
a = r'\"' + a + r'\"'
|
||||||
quoted_args.append(a)
|
quoted_args.append(a)
|
||||||
|
|
Loading…
Reference in New Issue