def run_cmd(self, util, commands, use_window=False):
        for c in commands:
            if 'window_command' in c:
                util.run_window_command(c['window_command'], c['args'])
            elif 'command' in c:
                util.run_command(c['command'], c['args'])

#
# Calls run command a specified number of times.
#
dataset/ETHPy150Open grundprinzip/sublemacspro/jove.py/SbpChainCommand.run_cmd/original