the cmd argument is supposed to be an array of parameters, not one string
authorNathan Binkert <binkertn@umich.edu>
Sun, 10 Jun 2007 20:57:48 +0000 (13:57 -0700)
committerNathan Binkert <binkertn@umich.edu>
Sun, 10 Jun 2007 20:57:48 +0000 (13:57 -0700)
--HG--
extra : convert_revision : dffdaa94a1f28f3709515a9eeed420552d8c7b22

configs/common/cpu2000.py

index 18f6aedea93d03331a9d0267c7c5c04f95aee4c5..2f5844dc660a6874bc91e84f9ef951efdce68924 100644 (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