def open_version(self, version):
        import subprocess
        import platform

        platform_name = platform.system().lower()

        # store the latest published version
        prev_lpv = version.latest_published_version

        process = subprocess.Popen(
            [self.environment.executable[platform_name],
             version.absolute_full_path],
            stderr=subprocess.PIPE
        )

        # wait until the process finishes
        process.wait()

        # check the latest published version again
        next_lpv = version.latest_published_version

        if prev_lpv != next_lpv:
            # a new version has been created so tell the environment to update
            # the references to this version
            self.reference_resolution = \
                self.environment.check_referenced_versions()

            # and then refresh the UI
            self._fill_UI()
Instantiate global cache object when ready.
dataset/ETHPy150Open eoyilmaz/anima/anima/ui/version_updater.py/MainDialog.open_version--crossover with--dataset/ETHPy150Open idlesign/django-sitecats/sitecats/config.py/SitecatsConfig.ready