'Append an additional command if supported by the shell'

def append_command(self, cmd, cmd_to_append):

    if self._SHELL_AND:
        cmd += ('    %s    %s' % (self._SHELL_AND, cmd_to_append))
    return cmd
