Commit c2f9d85d authored by Jelte Jansen's avatar Jelte Jansen
Browse files

also propagate PYTHONPATH env var

git-svn-id: svn:// e5f2f494-b856-4b98-b285-d166d9295462
parent 8399a643
...@@ -71,6 +71,8 @@ class ProcessInfo: ...@@ -71,6 +71,8 @@ class ProcessInfo:
spawn_env['B10_FROM_SOURCE'] = os.environ['B10_FROM_SOURCE'] spawn_env['B10_FROM_SOURCE'] = os.environ['B10_FROM_SOURCE']
if 'PYTHON_EXEC' in os.environ: if 'PYTHON_EXEC' in os.environ:
spawn_env['PYTHON_EXEC'] = os.environ['PYTHON_EXEC'] spawn_env['PYTHON_EXEC'] = os.environ['PYTHON_EXEC']
if 'PYTHONPATH' in os.environ:
spawn_env['PYTHONPATH'] = os.environ['PYTHONPATH']
self.process = subprocess.Popen(self.args, self.process = subprocess.Popen(self.args,
stdin=subprocess.PIPE, stdin=subprocess.PIPE,
stdout=spawn_stdout, stdout=spawn_stdout,
Supports Markdown
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