Commit c22e6ff7 by Eric Coissac

--no commit message

parent f6da66d5
......@@ -47,8 +47,8 @@ class littlebigman(build_exe):
def run_littlebigman(self):
p = subprocess.Popen(os.path.join(self.build_temp,
'littlebigman'),
p = subprocess.Popen("'%s'" % os.path.join(self.build_temp,
'littlebigman'),
shell=True,
stdout=subprocess.PIPE)
little = p.communicate()[0]
......
......@@ -30,7 +30,7 @@ def is_python27(path=None):
if path is None:
pythonversion = LooseVersion(sysconfig.get_python_version())
else:
command = """%s -c 'from distutils import sysconfig; """ \
command = """'%s' -c 'from distutils import sysconfig; """ \
"""print sysconfig.get_python_version()'""" % path
p = subprocess.Popen(command,
......@@ -82,7 +82,7 @@ def is_a_virtualenv_python(path=None):
if path is None:
rep = hasattr(sys, 'real_prefix')
else:
command = """%s -c 'import sys; print hasattr(sys,"real_prefix")'""" % path
command = """'%s' -c 'import sys; print hasattr(sys,"real_prefix")'""" % path
p = subprocess.Popen(command,
shell=True,
stdout=subprocess.PIPE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment