[pypy-svn] r15429 - pypy/dist/pypy/translator/goal

hpk at codespeak.net hpk at codespeak.net
Sat Jul 30 19:59:09 CEST 2005


Author: hpk
Date: Sat Jul 30 19:59:08 2005
New Revision: 15429

Modified:
   pypy/dist/pypy/translator/goal/targetpypymain.py
Log:
fix another argv construction to result in two 
strings


Modified: pypy/dist/pypy/translator/goal/targetpypymain.py
==============================================================================
--- pypy/dist/pypy/translator/goal/targetpypymain.py	(original)
+++ pypy/dist/pypy/translator/goal/targetpypymain.py	Sat Jul 30 19:59:08 2005
@@ -76,6 +76,6 @@
 
 # _____ Run translated _____
 def run(c_entry_point):
-    argv = [os.path.join(this_dir, 'app_example.py')]
+    argv = ["pypy", os.path.join(this_dir, 'app_example.py')]
     exitcode = c_entry_point('\x00'.join(argv))
     assert exitcode == 0



More information about the Pypy-commit mailing list