git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1733
270642c3-0616-0410-b53a-bc976706d245
import os.path, SCons
import inspect
+import sys
# SCons is at #/tools/scons-<v>/engine/SCons/__init__.py
# site_init is at #/site_scons/site_init.py
elif cdir != '.' and not cdir.startswith('/'):
os.chdir('/'.join(('..' for _ in cdir.split('/'))))
os.environ['SCONS_LIB_DIR'] = sconsengine
- os.execv(sconsscript, sys.argv)
+ os.execv(sys.executable, [sconsscript] + sys.argv)
+