<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def record_command(self, cmd, prg=''):
 """ record the command passed - this is usually the name of the program being run or task being run """

        self._log(self.logFileCommand , force_to_string(cmd), prg)