aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortarek <none@none>2009-07-23 15:24:40 +0200
committertarek <none@none>2009-07-23 15:24:40 +0200
commit8d37ba24ed17b6531c86c42e22d178e1e50a22a2 (patch)
treeb3cf970610fa03c40a1cb60722d17b9190dc4b48
parent9cca2a8d2e6c815a7a0ae31a14dc8d879f78b2e9 (diff)
downloadexternal_python_setuptools-8d37ba24ed17b6531c86c42e22d178e1e50a22a2.tar.gz
external_python_setuptools-8d37ba24ed17b6531c86c42e22d178e1e50a22a2.tar.bz2
external_python_setuptools-8d37ba24ed17b6531c86c42e22d178e1e50a22a2.zip
fixed #24: the jython calls now works
--HG-- branch : distribute extra : rebase_source : 490026cb4cb661428ab2ca71697664e4cba22909
-rw-r--r--bootstrap.py2
-rw-r--r--tests/install_test.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/bootstrap.py b/bootstrap.py
index a861c584..e8a058a6 100644
--- a/bootstrap.py
+++ b/bootstrap.py
@@ -273,7 +273,7 @@ def _relaunch():
# we have to relaunch the process
args = [sys.executable] + sys.argv
if is_jython:
- sys.exit(subprocess.Popen([sys.executable] + args).wait())
+ sys.exit(subprocess.call(args))
else:
sys.exit(os.spawnv(os.P_WAIT, sys.executable, args))
diff --git a/tests/install_test.py b/tests/install_test.py
index e2d86ec2..c02c04a3 100644
--- a/tests/install_test.py
+++ b/tests/install_test.py
@@ -22,7 +22,7 @@ f.close()
# running it
args = [sys.executable] + ['bootstrap.py']
if is_jython:
- res = subprocess.call([sys.executable] + args)
+ res = subprocess.call(args)
else:
res = os.spawnv(os.P_WAIT, sys.executable, args)
@@ -59,7 +59,7 @@ finally:
try:
args = [sys.executable] + [script_name]
if is_jython:
- res = subprocess.call([sys.executable] + args)
+ res = subprocess.call(args)
else:
res = os.spawnv(os.P_WAIT, sys.executable, args)