def exe(self, cmd, cwd=None):
        logger.debug(cmd % 'Starting Process "%s"')
        cmd = shlex.split(cmd)
        ocwd = os.getcwd()
        output = ''
        if cwd:
            os.chdir(cwd)
        try:
            output = subprocess.check_output(
                cmd, stderr=subprocess.STDOUT, env=self.env)
            if output:
                logger.debug('Process Output [%s]' % output.strip())
        except subprocess.CalledProcessError as err:
            if err.output:
                logger.exception("Process Exception: %s: [%s]" %
                                 (err, err.output))
            else:
                logger.exception(err)
        finally:
            os.chdir(ocwd)
        return output
dataset/ETHPy150Open redhat-cip/software-factory/tests/functional/utils.py/Tool.exe/swapped operands of `%`