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

also propagate PYTHONPATH env var


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@691 e5f2f494-b856-4b98-b285-d166d9295462
parent 8399a643
......@@ -71,6 +71,8 @@ class ProcessInfo:
spawn_env['B10_FROM_SOURCE'] = os.environ['B10_FROM_SOURCE']
if 'PYTHON_EXEC' in os.environ:
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,
stdin=subprocess.PIPE,
stdout=spawn_stdout,
......
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