mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #21907: Exit with the correct return code
This commit is contained in:
parent
e03de09ff2
commit
69d2d013f1
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ def main(regrtest_args):
|
|||
print(' '.join(args))
|
||||
if sys.platform == 'win32':
|
||||
from subprocess import call
|
||||
call(args)
|
||||
sys.exit(call(args))
|
||||
else:
|
||||
os.execv(sys.executable, args)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue