From 04e605554fd87fea04aaf39501398770cc224473 Mon Sep 17 00:00:00 2001 From: Ivey Date: Thu, 23 Jan 2025 10:35:26 +0100 Subject: [PATCH] build: Handle Python path with whitespaces on Windows --- test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.py b/test.py index 4490f9779..d05634b98 100755 --- a/test.py +++ b/test.py @@ -1253,7 +1253,7 @@ def run_tests(): build_cmd = "./ns3" if sys.platform == "win32": - build_cmd = sys.executable + " " + build_cmd + build_cmd = f'"{sys.executable}" {build_cmd}' if args.verbose: print("Building: %s" % build_cmd)