aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrun_unittests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/run_unittests.py b/run_unittests.py
index 214def1..d9281cf 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -5881,7 +5881,7 @@ class NativeFileTests(BasePlatformTests):
if mesonbuild.environment.detect_msys2_arch():
f.write(r'@python3 {} %*'.format(filename))
else:
- f.write('@py -3 {} %*'.format(filename))
+ f.write('@{} {} %*'.format(sys.executable, filename))
return batfile
def helper_for_compiler(self, lang, cb, for_machine = MachineChoice.HOST):