diff options
-rw-r--r-- | bootstrap.py | 2 | ||||
-rw-r--r-- | tests/install_test.py | 4 |
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) |