diff options
author | Steven Knight <knight@baldmt.com> | 2010-01-27 01:55:50 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2010-01-27 01:55:50 (GMT) |
commit | 4f36f5d9032a1a1afc1206609b7b9139bf6344c0 (patch) | |
tree | 6734f8aaf02c2b4684ab66d058b837ad5e12deaf | |
parent | f5a80d8cf4143edd7434805a568cc0e7eeaf81c0 (diff) | |
download | SCons-4f36f5d9032a1a1afc1206609b7b9139bf6344c0.zip SCons-4f36f5d9032a1a1afc1206609b7b9139bf6344c0.tar.gz SCons-4f36f5d9032a1a1afc1206609b7b9139bf6344c0.tar.bz2 |
Only escape the executable python string itself on the display line.
-rw-r--r-- | runtest.py | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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() |