<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def send_command(self, cmd):
 """Sends a generic command into FIFO. :param bytes cmd: Command chars to send into FIFO. """

        if not cmd:
            return

        with open(self.fifo, 'wb') as f:
            f.write(cmd)