util/ProcessLogger.py
changeset 3816 032bf4f225d0
parent 3786 50935528d313
child 3892 1675b5533e9e
equal deleted inserted replaced
3815:56f08ab3a491 3816:032bf4f225d0
    89                     if len(word) > 0:
    89                     if len(word) > 0:
    90                         self.Command.extend(word.split())
    90                         self.Command.extend(word.split())
    91                 else:
    91                 else:
    92                     self.Command.append(word)
    92                     self.Command.append(word)
    93         else:
    93         else:
    94             self.Command = Command
    94             self.Command = [x if type(x)==str else x.decode() for x in Command]
    95             self.Command_str = subprocess.list2cmdline(self.Command)
    95             self.Command_str = subprocess.list2cmdline(self.Command)
    96 
    96 
    97         fsencoding = sys.getfilesystemencoding()
    97         fsencoding = sys.getfilesystemencoding()
    98         self.output_encoding = output_encoding
    98         self.output_encoding = output_encoding
    99 
    99