Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 69d2d01

Browse files
committed
Issue #21907: Exit with the correct return code
1 parent e03de09 commit 69d2d01

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tools/scripts/run_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def main(regrtest_args):
5050
print(' '.join(args))
5151
if sys.platform == 'win32':
5252
from subprocess import call
53-
call(args)
53+
sys.exit(call(args))
5454
else:
5555
os.execv(sys.executable, args)
5656

0 commit comments

Comments
 (0)