def METHOD_NAME(self, cmd):
    # build the command
    if not isinstance(cmd, six.string_types):
        cmd = quote_cmd(cmd)
    cmd = quote_cmd(["bash", "-c", cmd])
    # run it
    return self.shell.system_piped(cmd)