def launch_install(self, game_id, path, installer, beta):
        # If possible, I'd love this to be more elegant but so far it works
        cmd = "gog-installer "
        if beta:
            cmd += "--beta "
        if path != None:
            cmd += ("--install-path=%s " % os.path.join(path, game_id))
        if installer != None:
            cmd += (" --setup=%s" % installer)
        else:
            token = self.parent.connection.auth_token.key
            secret = self.parent.connection.auth_token.secret
            cmd += ("--secret=%s --token=%s" % (secret, token))
        cmd += " %s" % game_id
        self.thread = threading.Thread(target=self.__threaded_execute,
                                       args=([cmd.split()]))
        self.thread.start()
Launch the command required to install a game through cli.
dataset/ETHPy150Open Morgawr/gogonlinux/gog_utils/gog_gui.py/ExternalOutputWindow.launch_install