summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Mitchell <ndmitchell@gmail.com>2013-11-18 06:32:32 (GMT)
committerNeil Mitchell <ndmitchell@gmail.com>2013-11-18 06:32:32 (GMT)
commit6b9104734ae3b58824f4850b356737616b1753f7 (patch)
treef131a94f259472635eeb3adec6d62f810948a6dd
parent43b3296f633658b303fa3194b093cccce77df013 (diff)
downloadNinja-6b9104734ae3b58824f4850b356737616b1753f7.zip
Ninja-6b9104734ae3b58824f4850b356737616b1753f7.tar.gz
Ninja-6b9104734ae3b58824f4850b356737616b1753f7.tar.bz2
Fix up platform_helper for MSVC, with Python 2.6.8 the arguments have to be in a list, not space separated (unless you set Shell to true)
-rw-r--r--platform_helper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform_helper.py b/platform_helper.py
index dac7c02..1b45e19 100644
--- a/platform_helper.py
+++ b/platform_helper.py
@@ -58,7 +58,7 @@ class Platform(object):
def msvc_needs_fs(self):
import subprocess
- popen = subprocess.Popen('cl /nologo /?',
+ popen = subprocess.Popen(['cl', '/nologo', '/?'],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
out, err = popen.communicate()