Commit 8d37ba24 authored by tarek's avatar tarek

fixed #24: the jython calls now works

--HG--
branch : distribute
extra : rebase_source : 490026cb4cb661428ab2ca71697664e4cba22909
parent 9cca2a8d
......@@ -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))
......
......@@ -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)
......
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