@staticmethod
    def response_commcare_logo_uploader(domain):
        try:
            for app in get_all_apps(domain.name):
                if isinstance(app, HQMediaMixin):
                    has_restored = app.restore_logos()
                    if has_restored:
                        app.save()
            return True
        except Exception:
            log_accounting_error(
                "Failed to restore all commcare logos for domain %s."
                % domain.name
            )
            return False
Run a command in a subprocess, return the new process.
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/accounting/subscription_changes.py/DomainUpgradeActionHandler.response_commcare_logo_uploader--crossover with--dataset/ETHPy150Open fp7-ofelia/ocf/expedient/src/python/plugins/openflow/tests/full/fulltests.py/FullIntegration.run_proc_cmd