Kaydet (Commit) 69d2d013 authored tarafından Zachary Ware's avatar Zachary Ware

Issue #21907: Exit with the correct return code

üst e03de09f
...@@ -50,7 +50,7 @@ def main(regrtest_args): ...@@ -50,7 +50,7 @@ def main(regrtest_args):
print(' '.join(args)) print(' '.join(args))
if sys.platform == 'win32': if sys.platform == 'win32':
from subprocess import call from subprocess import call
call(args) sys.exit(call(args))
else: else:
os.execv(sys.executable, args) os.execv(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