Issue #21907: Exit with the correct return code
This commit is contained in:
parent
e03de09ff2
commit
69d2d013f1
|
@ -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…
Reference in New Issue