[Zodb-checkins] CVS: StandaloneZODB/ZEO/tests - forker.py:1.9
Jeremy Hylton
jeremy@zope.com
Fri, 28 Sep 2001 18:58:04 -0400
Update of /cvs-repository/StandaloneZODB/ZEO/tests
In directory cvs.zope.org:/tmp/cvs-serv4024
Modified Files:
forker.py
Log Message:
Pass the correct environment to the spawned process
=== StandaloneZODB/ZEO/tests/forker.py 1.8 => 1.9 ===
d = os.environ.copy()
d['PYTHONPATH'] = os.pathsep.join(sys.path)
- pid = os.spawnve(os.P_NOWAIT, sys.executable, args, os.environ)
+ pid = os.spawnve(os.P_NOWAIT, sys.executable, args, d)
return ('localhost', port), ('localhost', port + 1), pid
else: