the cmd argument is supposed to be an array of parameters, not one string

--HG--
extra : convert_revision : dffdaa94a1f28f3709515a9eeed420552d8c7b22
This commit is contained in:
Nathan Binkert 2007-06-10 13:57:48 -07:00
parent cd46796d5c
commit d14256f9ba

View file

@ -131,7 +131,7 @@ class Benchmark(object):
def makeLiveProcessArgs(self, **kwargs):
# set up default args for LiveProcess object
process_args = {}
process_args['cmd'] = self.name + ' ' + ' '.join(self.args)
process_args['cmd'] = [ self.name ] + self.args
process_args['executable'] = self.executable
if self.stdin:
process_args['input'] = self.stdin