From a242f7fde4c778ad018204a486061fd07b4576a9 Mon Sep 17 00:00:00 2001 From: stevenknight Date: Wed, 27 Jan 2010 01:55:50 +0000 Subject: [PATCH] Only escape the executable python string itself on the display line. git-svn-id: http://scons.tigris.org/svn/scons/trunk@4651 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- runtest.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/runtest.py b/runtest.py index a4dcee41..a9279405 100644 --- a/runtest.py +++ b/runtest.py @@ -761,11 +761,12 @@ else: total_start_time = time_func() for t in tests: - t.command_args = [python, '-tt'] + command_args = ['-tt'] if debug: - t.command_args.append(debug) - t.command_args.append(t.path) - t.command_str = string.join(map(escape, t.command_args), " ") + command_args.append(debug) + command_args.append(t.path) + t.command_args = [python] + command_args + t.command_str = string.join([escape(python)] + command_args, " ") if printcommand: sys.stdout.write(t.command_str + "\n") test_start_time = time_func() -- 2.26.2