changeset 98f6215dffce in /z/repo/m5 details: http://repo.m5sim.org/m5?cmd=changeset;node=98f6215dffce description: SCons: Fix read_command so it can properly deal with command strings
diffstat: 1 file changed, 3 insertions(+) SConstruct | 3 +++ diffs (13 lines): diff -r 8007803be77a -r 98f6215dffce SConstruct --- a/SConstruct Wed Feb 11 16:58:51 2009 -0800 +++ b/SConstruct Sun Feb 15 20:38:49 2009 -0800 @@ -114,6 +114,9 @@ this is sorta like `cmd` in shell""" from subprocess import Popen, PIPE, STDOUT + if isinstance(cmd, str): + cmd = cmd.split() + no_exception = 'exception' in kwargs exception = kwargs.pop('exception', None) _______________________________________________ m5-dev mailing list m5-dev@m5sim.org http://m5sim.org/mailman/listinfo/m5-dev