From: stevenknight Date: Wed, 27 Jan 2010 01:55:50 +0000 (+0000) Subject: Only escape the executable python string itself on the display line. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a242f7fde4c778ad018204a486061fd07b4576a9;p=scons.git 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 --- 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()