[pypy-commit] pypy default: set env in subprocess

mattip noreply at buildbot.pypy.org
Wed Apr 2 16:14:04 CEST 2014


Author: Matti Picus <matti.picus at gmail.com>
Branch: 
Changeset: r70394:5ccb263575f6
Date: 2014-04-02 17:12 +0300
http://bitbucket.org/pypy/pypy/changeset/5ccb263575f6/

Log:	set env in subprocess

diff --git a/rpython/translator/platform/windows.py b/rpython/translator/platform/windows.py
--- a/rpython/translator/platform/windows.py
+++ b/rpython/translator/platform/windows.py
@@ -414,7 +414,8 @@
         try:
             returncode, stdout, stderr = _run_subprocess(
                 'nmake',
-                ['/nologo', '/f', str(path.join('Makefile'))] + extra_opts)
+                ['/nologo', '/f', str(path.join('Makefile'))] + extra_opts,
+                evn = self.c_environ)
         finally:
             oldcwd.chdir()
 


More information about the pypy-commit mailing list