Instead of recording the test command as a Python object, record it as a
string with spaces delimiting each of the paramters. This way we can use
it to directly issue the command in a shell.
Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
command = [self.paths['exe']] + self.parameters
with open(self.filenames['cmd'], "w+",
encoding=locale.getpreferredencoding()) as command_file:
- command_file.write(f"{command}\n")
+ command_file.write(" ".join(command))
try:
with open(self.filenames['stdout'], "w+",