diff options
Diffstat (limited to 'Tools/scripts/run_tests.py')
-rw-r--r-- | Tools/scripts/run_tests.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Tools/scripts/run_tests.py b/Tools/scripts/run_tests.py index 490a37e..b451a75 100644 --- a/Tools/scripts/run_tests.py +++ b/Tools/scripts/run_tests.py @@ -48,7 +48,11 @@ def main(regrtest_args): args.extend(['-u', 'all,-largefile,-audio,-gui']) args.extend(regrtest_args) print(' '.join(args)) - os.execv(sys.executable, args) + if sys.platform == 'win32': + from subprocess import call + call(args) + else: + os.execv(sys.executable, args) if __name__ == '__main__': |